×
Blue Eagle 5 v1.6.2 has been Released for Kunena 5.2 (20 Jan 2021)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.6.2 which is now available for download. This version addresses most of the issues that were discovered in development.

REQUIREMENTS
Blue Eagle 1.6.x requires Kunena 5.2.x to work with

Question Automatically adding text when someone starts a new topic.

More
4 years 11 months ago #1 by DaddyPenguin
Lets see if i can explain this right. Under a specific section, I want predefined text to automatically be added when someone goes to make new topic. For example under a question section when they click new topic already in the message where they will type in there question there will already be a format on what needs to be in the topic before they click post.

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #2 by 9themestore
Hi DaddyPenguin,

You need add the placeholder property for text editor. If you are using the Blue Eagle template, you need follow some bellow steps:

1. Open the edit_editor.php file in the "components/com_kunena/template/blue_eagle/html/topic/" path.

2. Go to about line 242 and change from:
<textarea class="ktxtarea required" name="message" id="kbbcode-message" rows="10" cols="50" tabindex="3"><?php echo $this->escape($this->message->message); ?></textarea>

to:
<textarea class="ktxtarea required" name="message" id="kbbcode-message" rows="10" cols="50" tabindex="3" placeholder="Input your text here..."><?php echo $this->escape($this->message->message); ?></textarea>

3. Save and try to create new topic to view your text.

Hope this helps

- Please provide your site url if it has been lived.
- Please share tip if it worked fine with you.
- Don't be shy about using the "Thanks" button below if you found my comment helpful :)

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #3 by DaddyPenguin
Now would this do it for all topics on the forum? I looking to have it done for just one category of the forum and not all. I have like 7 categories in my forum, so under one of them I would like the text to appear when they create a topic under it.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #4 by DaddyPenguin
This seems to work for any new topic. I looking for just new topic under just one specific catecory, not all. Is there a way?
Last edit: 4 years 10 months ago by DaddyPenguin.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.069 seconds