- Posts: 7
- Thank you received: 0
Cannot display a module position (left)
11 years 3 months ago #211411
by louisrui
Cannot display a module position (left) was created by louisrui
-- HikaShop version -- : HikaShop Starter 2.5.0
-- Joomla version -- : Joomla! 3.4.3 Stable [ Ember ] 2-July-2015 16:00 GMT
-- PHP version -- : 5.5.26
Hi
Thanks for reading.
I'm was trying to modify my template so it would display the left column position module. So I was to create a div container to do so on the /mytemplate/html/com_hikashop/product/show.php, but neither
nor
would display the modules for the left position. Instead I had a page crash.
Can someone give me some clue on this problem please?
I'm new on Hikashop, sorry if this is evident and simple.
Regards,
Louis
-- Joomla version -- : Joomla! 3.4.3 Stable [ Ember ] 2-July-2015 16:00 GMT
-- PHP version -- : 5.5.26
Hi
Thanks for reading.
I'm was trying to modify my template so it would display the left column position module. So I was to create a div container to do so on the /mytemplate/html/com_hikashop/product/show.php, but neither
Code:
<?php echo JHTML::_('content.prepare', '{loadposition left}'); ?>
Code:
{loadposition left}
would display the modules for the left position. Instead I had a page crash.
Can someone give me some clue on this problem please?
I'm new on Hikashop, sorry if this is evident and simple.
Regards,
Louis
Please Log in or Create an account to join the conversation.
11 years 3 months ago #211446
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Cannot display a module position (left)
Hi,
{loadposition xyz} is meant for displaying modules in content such as articles, but it doesn't work in PHP, not HikaShop PHP or any other.
To keep it simple, try NoNumber's "Modules Anywhere" . It works, is simple and easy, and... free!
{loadposition xyz} is meant for displaying modules in content such as articles, but it doesn't work in PHP, not HikaShop PHP or any other.
To keep it simple, try NoNumber's "Modules Anywhere" . It works, is simple and easy, and... free!
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
11 years 3 months ago #211447
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Cannot display a module position (left)
Hi,
@louisrui
To use the "loadposition" tag, the plugin "Content - Load Modules" must be published.
Otherwise you can use Joomla core itself to display the modules you want ; like with "JModuleHelper::renderModule".
@lousyfool
Sorry but it is working using PHP ; the Joomla article are displayed thanks to some PHP code ; the template are based on PHP, HikaShop is base on PHP, etc.
Regards,
@louisrui
To use the "loadposition" tag, the plugin "Content - Load Modules" must be published.
Otherwise you can use Joomla core itself to display the modules you want ; like with "JModuleHelper::renderModule".
@lousyfool
Sorry but it is working using PHP ; the Joomla article are displayed thanks to some PHP code ; the template are based on PHP, HikaShop is base on PHP, etc.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.044 seconds