×
Kunena 5.2 RC 1 Released (25 Oct 2020)

The Kunena team is thrilled to announce the first public release candidate 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 RC1 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.

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

More
2 years 1 week ago - 2 years 1 week 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: 2 years 1 week ago by lesty.

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

More
2 years 1 week 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
2 years 1 week 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
2 years 1 week 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
2 years 1 week 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
2 years 1 week 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
2 years 1 week 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
2 years 6 days ago #8 by rich
The following user(s) said Thank You: lesty

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

More
2 years 5 days 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: 1.214 seconds