Hide module positions

martin007
9 Posts
martin007 posted this 09 December 2014

how do I make module positions hidden in a template until they are required. i.e. I might use a module positions to show a module for one menu item but now show when used with another menu item. when I currently add a new module position to my template it shows even if no modules has been assigned to it.

how do I make module positions hidden in a template until they are required. i.e. I might use a module positions to show a module for one menu item but now show when used with another menu item. when I currently add a new module position to my template it shows even if no modules has been assigned to it.

Last edited 10 December 2014 by martin007

Vote to pay developers attention to this features or issue.
4 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 10 December 2014

Hello

The Joomla Position control has predefined background and min-height properties. We added them so you can see the position in Themler and navigate to it and move if needed.
You can simply remove background and min height (under Shape Options >> Size and Position) to make position invisible if empty.

Thank you,
Olivia

Hello The Joomla Position control has predefined background and min-height properties. We added them so you can see the position in Themler and navigate to it and move if needed. You can simply remove background and min height (under Shape Options >> Size and Position) to make position invisible if empty. Thank you, Olivia
martin007
9 Posts
martin007 posted this 10 December 2014

Is there a way of making a column collapse allowing the page to flow full width if the module positions are not use, the same way they would work in artisteer

Is there a way of making a column collapse allowing the page to flow full width if the module positions are not use, the same way they would work in artisteer
Support Team
Support Team posted this 10 December 2014

Hello Martin,
the Bootstrap that is used for Rows and Columns in Themler does not allow to collapse empty columns, I mean if column does not include module.
You may consider creating two templates (with sidebar column and without sidebar) and assign them to different pages in Joomla.

Regards,
Aileen

Hello Martin, the Bootstrap that is used for Rows and Columns in Themler does not allow to collapse empty columns, I mean if column does not include module. You may consider creating two templates (with sidebar column and without sidebar) and assign them to different pages in Joomla. Regards, Aileen
Aleh
83 Posts
Aleh posted this 12 December 2014

As an option you can put two controls into the same column
and use float: left for first one (e.g. Joomla Position).

As an option you can put two controls into the same column and use float: left for first one (e.g. Joomla Position).
You must log in or register to leave comments