- Posts: 126
- Thank you received: 0
How to display module in template?
12 years 10 months ago - 12 years 10 months ago #131595
by neviqimka
How to display module in template? was created by neviqimka
The code {load position new_position} working in article, description of category or product, but not working in code of template. What code will work in template, to display HikaShop content module on page?
P.S Sorry this topic for Product & Category Display category...
P.S Sorry this topic for Product & Category Display category...
Last edit: 12 years 10 months ago by neviqimka.
Please Log in or Create an account to join the conversation.
12 years 10 months ago #131626
by nicolas
Replied by nicolas on topic How to display module in template?
Hi,
The simplest is tol use modules anywhere: extensions.joomla.org/extensions/core-en...embed-a-include/6402
The simplest is tol use modules anywhere: extensions.joomla.org/extensions/core-en...embed-a-include/6402
Please Log in or Create an account to join the conversation.
12 years 10 months ago #131627
by nicolas
Replied by nicolas on topic How to display module in template?
Hi,
The simplest is to use modules anywhere: extensions.joomla.org/extensions/core-en...embed-a-include/6402
The simplest is to use modules anywhere: extensions.joomla.org/extensions/core-en...embed-a-include/6402
Please Log in or Create an account to join the conversation.
12 years 10 months ago #131668
by neviqimka
Replied by neviqimka on topic How to display module in template?
Can I do this without to installing additional extensions? I need only display {loadposition my_position} in the temlate
Please Log in or Create an account to join the conversation.
12 years 10 months ago #131673
by nicolas
Replied by nicolas on topic How to display module in template?
The loadposition plugin of joomla doesn't support replacing its tags in other places than content element.
You would thus need to do:
<?php echo JHTML::_('content.prepare',{loadposition my_position}); ?>
Please note that this question has nothing to do with HikaShop. Please use the Joomla forum for questions related to Joomla setup.
You would thus need to do:
<?php echo JHTML::_('content.prepare',{loadposition my_position}); ?>
Please note that this question has nothing to do with HikaShop. Please use the Joomla forum for questions related to Joomla setup.
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds