Split Navigation Topic is solved

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
caigner
Forum Members
Forum Members
Posts: 46
Joined: Sun Aug 16, 2020 5:29 am

Split Navigation

Post by caigner »

On a new website the designer asks for a split navigation (see attached screenshot).

Part of the pages are accessible through the navigation on the top right, the rest of the pages are accessible through the bottom navigation.

How can this be done in CMSMS?

Regards,
Christian
Attachments
screenshot
screenshot
I am using CMSms 2.2.19
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Split Navigation

Post by DIGI3 »

One common way is to use section headers to group the pages, then childrenof= in your Navigator call. Other options are to specify which items are shown using items=

Less efficiently, you can check for a field in your Navigator template, using one of the extra fields or a content block. e.g.

Code: Select all

{if $node->extra1=='foo'}...{/if}
or

Code: Select all

{page_attr page=$node->alias key=myblock assign=foo}{if $foo==1}...{/if}
There are various other methods you can use, check the Navigator help for more: https://docs.cmsmadesimple.org/layout/d ... /navigator
Not getting the answer you need? CMSMS support options
Post Reply

Return to “CMSMS Core”