×
Kunena 5.1.10 Released - Security release (03 Mar 2019)

The Kunena team has announce the arrival of Kunena 5.1.10 [K 5.1.10] 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.

Solved New param Topic template in category settings: what it is used for?

More
5 months 1 day ago - 5 months 1 day ago #1 by lesty
Hello,
I discovered a new param in category settings called Topic template.
What is it used for? Can anyone give an example?


Thanks.
Attachments:
Last edit: 5 months 1 day ago by lesty.

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

More
5 months 1 day ago #2 by rich
This is a default text that will be displayed on a new topic in the text field (see image).


Attachments:
The following user(s) said Thank You: lesty

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

More
5 months 9 hours ago #3 by lesty
Wow, this is a great feature! Thank you for the reply.

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

More
5 months 7 hours ago #4 by lesty
Hi @rich,
I've tried to test this feature but unfortunately got no success.
Please have a look at screenshots:

A Topic template was added to the demo category "Welcome mat".



When I create a new topic in this category, I do not see predefined text in text-area.

Kunena 5.1.5
Crypsis BS3 (no WYSIWYG, but BBCode editor is enabled in template settings)
PHP 7.2.1
Attachments:

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

More
5 months 4 hours ago #5 by rich
I see on your image also not the first column (see image), so I think, the editor is loaded from the cache.
Click on New Topic, then press Strg+F5. If does not help, then empty also the Joomla cache.

Attachments:

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

More
4 months 3 weeks ago #6 by lesty
Hi rich,

I've cleared browser cache and now all works fine.
Thank you for the tip.

I was surprised with a modal window that appears with two buttons "Replace content / Replace content and keep existing". Would be good to avoid such modal window since if the user is creating a new topic, there is no need to keep the existing (empty) field, so this is an extra action.

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

More
4 months 3 weeks ago #7 by lesty
Btw, I am using a custom template which does not support this feature.
Can anyone give an URL on Github issue where the Topic template was added or give an advice which template file to investigate?
/components/com_kunena/template/crypsisb3/layouts/topic/ ... (which one is next? edit/default.php ?)

Thanks.

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

More
4 months 3 weeks ago #8 by rich
The following user(s) said Thank You: lesty

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

More
4 months 3 weeks ago #9 by lesty
I will try.
Thank you again, @rich!

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.263 seconds