- Posts: 10
- Thank you received: 2
HikaShop Content Module issues with Yootheme Pro Pagebuilder
4 years 10 months ago #337504
by epafos
-- HikaShop version -- : 4.4.4
-- Joomla version -- : 4.0.4
-- PHP version -- : 7.4
-- Browser(s) name and version -- : irrelevant
I place a hikashop content module on the sidebar(module position:sidebar) of my website.
and then i selected from the tab hikashop options on the display method to be visible ONLY on product view
snipboard.io/Ktjfp3.jpg
Even though i did that. The module is holding space on the sidebar even on the other views (such as product listing, or categories listings)
snipboard.io/ispmtD.jpg
-- Joomla version -- : 4.0.4
-- PHP version -- : 7.4
-- Browser(s) name and version -- : irrelevant
I place a hikashop content module on the sidebar(module position:sidebar) of my website.
and then i selected from the tab hikashop options on the display method to be visible ONLY on product view
snipboard.io/Ktjfp3.jpg
Even though i did that. The module is holding space on the sidebar even on the other views (such as product listing, or categories listings)
snipboard.io/ispmtD.jpg
Please Log in or Create an account to join the conversation.
4 years 10 months ago #337508
by nicolas
Replied by nicolas on topic HikaShop Content Module issues with Yootheme Pro Pagebuilder
Hi,
It's the template you're using which is still displaying the position of the module even though the module doesn't output any HTML.
Not much can be done in the module to avoid that.
The template should check whether the modules in a given position outputs HTML before displaying the position.
This page provides some code that can be used in the template index.php to check if the modules of a position return any content before displaying the position:
joomla.stackexchange.com/questions/4215/...-from-being-rendered
Advanced modules manager Pro offers the same feature to be able to hide empty modules, but apparently, it has the same issue with YooTheme templates:
yootheme.com/support/question/12981
It's the template you're using which is still displaying the position of the module even though the module doesn't output any HTML.
Not much can be done in the module to avoid that.
The template should check whether the modules in a given position outputs HTML before displaying the position.
This page provides some code that can be used in the template index.php to check if the modules of a position return any content before displaying the position:
joomla.stackexchange.com/questions/4215/...-from-being-rendered
Advanced modules manager Pro offers the same feature to be able to hide empty modules, but apparently, it has the same issue with YooTheme templates:
yootheme.com/support/question/12981
The following user(s) said Thank You: epafos
Please Log in or Create an account to join the conversation.
Time to create page: 0.168 seconds