×
Kunena 5.2 Beta 1 Released (Yesterday)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

Question Automatically adding text when someone starts a new topic.

More
4 years 6 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 6 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 6 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 5 months ago - 4 years 5 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 5 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.104 seconds