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