Dumb Menu Manager Question

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
drj0nes
New Member
New Member
Posts: 6
Joined: Tue Mar 01, 2016 2:34 pm

Dumb Menu Manager Question

Post by drj0nes »

I'm losing my mind today and just can't sort this one out. It should be simple. Can someone point me in the right direction WRT the parameters to use.

Here's my hierarchy....

1. Home
1.1 Page A
1.2 Page B
1.3 Page C
1.3.1 Page D
1.3.2 Page E
1.3.3 Page F
1.3.3.1 Page G
1.3.3.2 Page H

When the user is on pages F, G or H I want them to see a side menu with ...

- Page F
-- Page G
-- Page H

And if they're on Page D, I want them to just see

- Page D

Seems simple, but I'm having a hell of a time. Thanks.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Dumb Menu Manager Question

Post by paulbaker »

I think you want this parameter in your {menu} call:
collapse="1" - Turn on (set to 1) to have the menu hide items not related to the current selected page.
Grabbed that from Layout > Menu Manager > Module Help
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Dumb Menu Manager Question

Post by velden »

I think you're looking for:

Code: Select all

start_page=$page_alias
inside the {menu...} / {Navigator ...} tag
(optional) start_page="" - Starts the menu displaying at the given start_page and showing that element and it's children only. Takes a page alias.
Post Reply

Return to “The Lounge”