WebsiteBaker Support (2.8.x) > Templates, Menus & Design
What is the equivalent of show_menu(1, 1) in show_menu2?
jsn:
Hi all,
What is the equivalent of <?php show_menu(1, 1); ?> if I am using show_menu2?
<?php show_menu2(1, SM2_ROOT, SM2_ALL,SM2_ALL,'<li>[a][menu_title]
[if(class==menu-expand){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}]
[if(class!=menu-expand){</a>}]
[if(class!=menu-last){</li>}]
[if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?>
Please advice
crnogorac081:
Hi,
<?php show_menu2(1, SM2_ROOT+1, SM2_ALL,.....
cheers
LordDarkman:
GNARF!!!
That's what I said in your other post... I told you how to modify the menu like you wish to...
Why you don't just stay in one treat?
crnogorac081:
I am really begineing to become pissed of of this kind of writting...If you ever double post again I will stop responding you.. Double posting is not nice way to solve your issues, you are starting to annoy a lot of people here..
jsn:
do whatever you think it is correct!!!
http://www.ttcslondon.ca/FLK%20Virtues.html
And going back to this post:
<?php show_menu2(1, SM2_ROOT+1, SM2_ALL,SM2_ALL,'<li>[a][menu_title]
[if(class==menu-expand){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}]
[if(class!=menu-expand){</a>}]
[if(class!=menu-last){</li>}]
[if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?>
does not work.
LordDarkman, this is not the same question, I am not trying anymore to see flags, and make Multilanguage pages work.
My question is about the fact that on the Multiflex template they use by default show_menu2() but in my case it does not work, I just replaced by <?php # show_menu(1, 1); ?> and it works fine.
So why should I use show_menu2?
Navigation
[0] Message Index
[#] Next page
Go to full version