WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show_menu2 Question...
(1/1)
gillweb:
I am using this code in the footer of my template to show links to pages.
--- Code: ---<?php show_menu2(1,0,1,SM2_PRETTY,'[ac][menu_title][/a]','','','','',''); ?>
--- End code ---
What do I have to add or subtract to this code to just show the 'top level' pages and not subpages?
BerndJM:
Hi,
please have a look at the show_menu2 ReadMe which Parameters are available and allowed! for $aStart and $aMaxLevel ...
Regards Bernd
gillweb:
--- Quote from: gillweb on February 05, 2009, 08:20:38 PM ---
--- Code: ---<?php show_menu2(1,SM2_ROOT,SM2_START,SM2_PRETTY,'[ac][menu_title][/a]','','','','',''); ?>
--- End code ---
--- End quote ---
Thanks, I knew there was something in writing somewhere. Thanks. :-D
mickpage:
or look at the many examples here ... http://code.jellycan.com/sm2test/
Navigation
[0] Message Index
Go to full version