WebsiteBaker Support (2.8.x) > Templates, Menus & Design

page_menu, show_menu, show_menu2

(1/1)

johnp:
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.

johnp:
Example

[gelöscht durch Administrator]

johnp:
back end admin example

[gelöscht durch Administrator]

diodak:
You can try to query it by page_id

Here`s example:

--- Code: ---<?php show_menu2(0, 72, SM2_ALL, SM2_ALL,&#39;[li]<a href="[url]">[page_title]</a>&#39;, &#39;</li>&#39;, &#39;<ul>&#39;, &#39;</ul>&#39;); ?>
--- End code ---

johnp:
Thank you deschek that did the trick....

Navigation

[0] Message Index

Go to full version