WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show_menu2 show child from parent only
Ruud:
There are conditional parameters possible in SM2.
--- Code: (NOT tested) ---<?php
show_menu2(0, SM2_CURR+1, SM2_CURR+1, SM2_CURRTREE, "[if(level > 1){[li][a][menu_title]</a>}]","</li>");
?>
--- End code ---
..that should generate items for menu level 2 and up.
sky writer:
Thank you both for you time and talent.
Ruud, that worked perfectly.
I did read the the show_menu2 documentation, but wasn't skilled enough to work out the formatting of the string.
Cheers!
Ruud:
3 cheers for show_menu2(). The best WB addition ever.
Stefek:
--- Quote from: Ruud on June 22, 2011, 05:44:13 PM ---show_menu2(). The best WB addition ever.
--- End quote ---
Yepp, agree.
Navigation
[0] Message Index
[*] Previous page
Go to full version