Note
- most things you want to do is possible using CSS and the existing classes
- investigate using CSS before using conditionals because CSS is faster
Description
Show only the page name of the parent menu.
Source code
echo "Title = ";
show_menu2(0, SM2_ROOT, SM2_CURR, SM2_CRUMB,
'[if(id==parent){ [menu_title] }]','','','');
show_menu2(0, SM2_ROOT, SM2_CURR, SM2_CRUMB,
'[if(id==parent){ [menu_title] }]','','','');
Example results
Title = Conditional