Page-dependent level in sidebar menuАвтор: John S.
Up to ver 13, it was possible to have a left-menu be created automatically.
From 13 and on, you have to make a left-menu on the page. Disadvantage of this is that the menu scrolls up with the page. And it takes up space. And you have to have the menu object on each page. And if you have manu menu-itrms for one level and need to increase the widtw then you have to do this on every page.
You can have a side-bar and a menu here. It can even be "fixed" when scrolling up a page.
BUT this menu will always have the same level. Now comes my idea :
On the settings for a page you have a new field :
Level for menu in side-bar ____________
If nothing specified in the field, all will be as today.
If in the field is specified : Level1a
Then the default level in the side-bar menu is exchanged with Level1a.
The levels can only be selected as the levels for the menu itself. It is not a text-field.
Also - in the menu you should have an option : Do not change the level from page.
And an option : Dont show menu object if no level settings on page-settings.
This way you can have a menu in the side-bar, and the level can be set to match the actual page.
You can even have 2 menus in the side-bar.
The one menu is the head menu, and for this you have specified a level and you have also checked the "Do not change the level from page".
Therefore this menu will always show the level you specified in the menu settings.
On the home page you will probably make no setting for the second menu, and this menu will therefore not be shown on the home page.
The other menu will show the level for the actual page - when specified, and for all pages under a level, you will probably set this level to be the level shown.
By this you will have the same possibility you had earlier. It will require some more work, but the menus can be "fixed".