In the module, there are display options for the different areas. If the module is configured to not be displayed on a page, then it won't output any HTML.
Then, in the code of the template, there is some code to say whether the area should be displayed or not.
There are two methods for that:
- get the HTML of each module and if there is something to display, display the area (position).
- ask Joomla if the module is to be displayed in that area.
If you disable the HikaShop filter module, and instead activate the "filter" display of the menu item, then the filters will display at the top of the listing and you won't get the filter module on the left area. You'll see that you won't have the problem with the empty area.
I feel my desriptions must have been not detailed enought... or too detailed.
either way: the results of your efforts did not bring the joy that I was hoping for when I got your mail.
Let me explain again (maybe better):
In the JD_shop template there is a 25% width in main with the purpose for the filters*
If the filters are NOT used (and there is no html output of the module) the 25% unused width is still there, on the right.
This results in the folowing (see attachments):
A. This is the "Default" view in the quickstart of the template. All looks well...
B. If the filters are not desired... there is a 25% width
C. If the filter is there PLUS an extra module is placed in "Left" this is the result
D. If the hikashop filter module is PUBLISHED but the filter option in the menu_item is set to "NO" this results in blank spaces left AND RIGHT
All these things work as they should in the Protostar template
with this coding it is Impossible to place the filter in other module positions
which is not very Joomla- and Hika-friendly
But we will fix this!!!!
Dick (with a D)
* BTW: what is the reason for coding it like this? yhis method is used in Prestashop - I know - and this is what makes that system so very design-pain-in-the-arse.
JoomDev is not affiliated with or endorsed by Open Source Matters or the Joomla! Project. The Joomla! logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.