Right now the Primary region dropdown on the zone configuration tab does TWO things.

First: The selected primary region expands in case other regions in that zone are not there. So if we have a [4][8][4] Layout in the content zone (Sidebar first: 4 columns, Content: 8 columns, Sidebar second: 4 columns) the content zone will expand to 12 columns in case the second sidebar is NOT there (if the content zone is set to be the primary region).

Second: The Primary region gets rendered first in the HTML Markup and then all regions are moved into their proper place with pull&push CSS classes.

However, in some cases we NEED to seperate this functionality. For example if the second sidebar has a menu in it and we want it to be on the right hand side for the normal layout but when on the mobile version it should be first (so it needs to be the first in the html output) ==> This also makes sense since a main menu has a higher "priory" then the actual content (for screenreaders). However, with the current setup this would also cause the second sidebar to expand if the first sidebar is not there. This sucks, since we probably dont want that. Instead we want the content region to expand anyhow.

Comments

fubhy’s picture

Status: Active » Closed (fixed)

Check it out @latest dev