gantry / gantry5

:rocket: Next Generation Template / Theme Framework
http://gantry.org
1.04k stars 204 forks source link

Gantry Menu Only module position in Joomla #1688

Open shoulders opened 7 years ago

shoulders commented 7 years ago

What I want is a module position that is created by default (perhaps independent of outline) called 'Gantry Menu Only'. There are a couple of reasons for this. Only modules in this position will be available in the Gantry Admin menu page.

1) in Joomla you assign modules to positions and you can sort by these permissions in the Joomla admin. Having this position would allow me to assign modules that I want in a Gantry Menu in to this position for ease of use and the ability to filter by the position.

2) This will prevent double rendering of a module. This can be easily overcome but none the less is something that can pop up. If you look in the image below you can see I selected the K2 image and placed it into the main menu but it was still publish in the content-right position

double

mahagr commented 7 years ago

Interesting idea to add module position for grouping purposes, though I would not want to restrict shown modules to specific position only.

This said I do like the idea to be able to use positions for grouping purposes. Its not only making sense in the menu, but also for module instances in the layout.

shoulders commented 7 years ago

just to clarify.

when you create a module position in gantry layout this creates a module position in the joomla module manager that you can use for publishing modules to and therefore they become grouped.

The way Gantry handles modules in the menu page is that you can use any module that is in the joomla module manager no matter what position.

If you have a complex menu with lots of modules the joomla menu module manager can become messey (modules publish here, modules published there) when managing modules from within the joomla menu manager. You could potential have to flick in-between the gantry menu manager and the joomla module manager to figure out what module is being display etc... Now I appreciate that many people will not have over complex menus with modules in them but i do feel having a 'Gantry Menu' module position would help.

This module position would accommodate all gantry menus no would remove some specificity whilst giving some order to them