×
Kunena 5.1.14 Released - Security release (13 Aug 2019)

The Kunena team is proud to announce the arrival of Kunena 5.1.14 [K5.1.14] which is now available for download as a native Joomla extension for Joomla 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.14. This update fixed 1 security issue.

Solved Overriding templates

More
3 years 3 weeks ago #1 by ArnoBrinkman
I've seen this question here before, but no answer so far.
Is this currently already possible?

I've found this in the README.md from templates:

Template file overrides are searched in the following order (assuming they extend Crypsis):

- ./templates/[JOOMLATEMPLATE]/layouts/com_kunena/[TEMPLATE]/topics/default.php (TODO)
- ./components/com_kunena/template/[TEMPLATE]/layouts/topics/default.php
- ./templates/[JOOMLATEMPLATE]/layouts/com_kunena/crypsis/topics/default.php (TODO)
- ./components/com_kunena/template/crypsis/layouts/topics/default.php
- ./templates/[JOOMLATEMPLATE]/layouts/com_kunena/topics/default.php (TODO)
- ./layouts/com_kunena/topics/default.php (TODO)

But no further explanation

[url=""https://www.tradingtalk.nl]TradingTalk[/url]

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

More
3 years 3 weeks ago #2 by Riba
Replied by Riba on topic Overriding templates
Hey Arno,

I was also wondering about this here:

www.kunena.org/forum/k5-0-support/138325...om-template-handling

However you are a step ahead as I did not read the README.md which suggests that the behavior I was expecting is supposed to be there. However I did a quick test by removing the layouts and pages from mt custom template which completely borked it. Maybe it is supported for layouts only, I will run further tests after learning this.

If the README is correct, the overrides will be picked up from your kunena template layouts directory, but not from the Joomla template (yet). If not present it will revert to the crypsis one.

We love stars on the Joomla Extension Directory .

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

More
3 years 3 weeks ago #3 by 810
Replied by 810 on topic Overriding templates
Yes, the readme is correct.

Its works just like the old override, but only layouts like:
\yourtemplate\html\com_kunena\crypsis\layouts\message\item\default.php

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

More
3 years 3 weeks ago #4 by Riba
Replied by Riba on topic Overriding templates
Thanks for clarifying!

We love stars on the Joomla Extension Directory .

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

More
2 years 10 months ago #5 by achartier
Replied by achartier on topic Overriding templates
I found the info provided by 810 to be slightly incorrect. The correct path should be:
\yourtemplate\html\com_kunena\layouts\message\item\default.php

You do not specify the Kunena template name in the path. At least it worked this way for me.

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