Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Solved Overriding templates

More
7 years 7 months 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

TradingTalk

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

More
7 years 7 months 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
7 years 7 months 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:
Code:
\yourtemplate\html\com_kunena\crypsis\layouts\message\item\default.php

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

More
7 years 7 months 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
7 years 5 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:
Code:
\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.

Time to create page: 0.370 seconds