×
Blue Eagle (1.5.0) for K5.1 is released (20 Jul 2018)

Please update the Kunena Blue Eagle to 1.5.0 if you use Kunena 5.1.
We made several bug fixes and improvements. Also Blue Eagle has now all the features from Crypsis.
Download: www.kunena.org/download/templates/category/blue-eagle-5

Solved Overriding templates

More
1 year 11 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

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

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

More
1 year 11 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
1 year 11 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:
\yourtemplate\html\com_kunena\crypsis\layouts\message\item\default.php

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

More
1 year 11 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
1 year 8 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 add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.103 seconds