Page 1 of 1
Show menu on page that itself is not in menu?
Posted: Tue Apr 12, 2011 6:58 am
by tomphantoo
I have various pages using the same template, which includes a {menu ....}. I want some of those pages not to be accessed via main navigation menus (instead - buttons, links etc), so I disabled the pages' respective 'show in menu' setting. But doing this seems to also prevent any menu being shown on those pages, hence no outward navigation.
The other pages with the same template work fine.
Am I missing something? Or is there a work-around?
I'm using 1.9.4.1.
Re: Show menu on page that itself is not in menu?
Posted: Tue Apr 12, 2011 9:39 am
by peterbus
Hi,
What do you mean by "But doing this seems to also prevent any menu being shown on those pages" ?
Re: Show menu on page that itself is not in menu?
Posted: Tue Apr 12, 2011 11:14 am
by tomphantoo
The page shows as expected, except for the navigation menu. The page-source has none of the relevant ul's li's etc. It's as if the {menu} tag were not there.
Re: Show menu on page that itself is not in menu?
Posted: Tue Apr 12, 2011 4:54 pm
by Dr.CSS
It sounds like you have a page that isn't shown in menu but it has children that you want shown on the side or something, if so you can make a menu call and use childrenof= parameter and even use smarty to make it only show the chidrenof= when on that particular page...
Re: Show menu on page that itself is not in menu?
Posted: Tue Apr 12, 2011 8:38 pm
by tomphantoo
[SOLVED]
My bad - poor design of my menu template.
Sorry to have wasted your time.