show_menu2 Question...

mickpage


gillweb

Quote from: gillweb on February 05, 2009, 08:20:38 PM
<?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

BerndJM

Hi,

please have a look at the show_menu2 ReadMe which Parameters are available and allowed! for $aStart and $aMaxLevel ...

Regards Bernd
In theory, there is no difference between theory and practice. But, in practice, there is.

gillweb

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?