WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: johnp on July 16, 2008, 01:35:49 PM

Title: page_menu, show_menu, show_menu2
Post by: johnp on July 16, 2008, 01:35:49 PM
Ok got a question... When using any one of the following
 page_menu
 show_menu
 show_menu2
to control your menu structure..
How do you call a page or multi pages when these pages are under a hidden page strucure

Example:
>Sample Page(hidden)
              >page two(not hidden)
              >page three(not hidden)
              >page four(not hidden)
              >page five(not hidden)

So what I want to do is call all the not hidden page links but keep the hidden out.
Title: Re: page_menu, show_menu, show_menu2
Post by: johnp on July 16, 2008, 01:55:01 PM
Example

[gelöscht durch Administrator]
Title: Re: page_menu, show_menu, show_menu2
Post by: johnp on July 16, 2008, 02:33:48 PM
back end admin example

[gelöscht durch Administrator]
Title: Re: page_menu, show_menu, show_menu2
Post by: diodak on July 16, 2008, 03:16:01 PM
You can try to query it by page_id

Here`s example:
Code: [Select]
<?php show_menu2(072SM2_ALLSM2_ALL,&#39;[li]<a href="[url]">[page_title]</a>&#39;, &#39;</li>&#39;, &#39;<ul>&#39;, &#39;</ul>&#39;); ?>
Title: Re: page_menu, show_menu, show_menu2
Post by: johnp on July 16, 2008, 08:26:12 PM
Thank you deschek that did the trick....