×
Kunena 5.1.18 Released (30 Jun 2020)

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

× Please Read This First:

This is a community-driven self-help category to ask questions about designing or developing your own Kunena template. Please be aware that there are rules that apply to topics posted in this category:

Do not use this category for:
  • asking questions about how to make simple changes to a template designed by the Kunena project team (use K 3.0 Templates instead);
  • advertising your own template designs.

Topics that do not meet the above guidelines may be removed without notice.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question New file in template folder

More
6 years 10 months ago #1 by MusicInMe
Hi guys,

I need to add new php file to some template folder that contain code repeated very often. How can I call it from other template files?

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

More
6 years 10 months ago #2 by xillibit
Hello,

You can that in the right view.html.php file
echo $this->loadTemplateFile('message');

By doing that it will load the file default_message.php the template

I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: MusicInMe

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