×
Kunena 5.1.6.1 Released - Security Release (09 Nov 2018)

The Kunena team has announce the arrival of Kunena 5.1.6 [K 5.1.6] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

K5.1.6.1 is a install update.

Question Automatically adding text when someone starts a new topic.

More
2 years 8 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
2 years 8 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
2 years 7 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
2 years 7 months ago - 2 years 7 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: 2 years 7 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 add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.076 seconds