WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: jsn on October 22, 2009, 11:05:45 PM
-
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
-
Hi,
<?php show_menu2(1, SM2_ROOT+1, SM2_ALL,.....
cheers
-
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?
-
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..
-
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?
-
Oki,
@all:
settle down a little bit, please.
We all are here to help each other.
@jsn:
double and triple posts are not the "nice" way to get help. Stay in your threads and ask here if you need further assitance.
Regards Bernd
-
I just found the answer here:
https://forum.WebsiteBaker.org/index.php/topic,10165.0.html
thanks