WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • What is the equivalent of show_menu(1, 1) in show_menu2?
  • Print
Pages: [1]   Go Down

Author Topic: What is the equivalent of show_menu(1, 1) in show_menu2?  (Read 5324 times)

jsn

  • Guest
What is the equivalent of show_menu(1, 1) in show_menu2?
« 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

Logged

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Re: What is the equivalent of show_menu(1, 1) in show_menu2?
« Reply #1 on: October 22, 2009, 11:14:09 PM »
Hi,

<?php  show_menu2(1, SM2_ROOT+1, SM2_ALL,.....

cheers
Logged
Web developer

LordDarkman

  • Guest
Re: What is the equivalent of show_menu(1, 1) in show_menu2?
« Reply #2 on: October 22, 2009, 11:19:16 PM »
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?
Logged

Offline crnogorac081

  • Posts: 2162
  • Gender: Male
Re: What is the equivalent of show_menu(1, 1) in show_menu2?
« Reply #3 on: October 22, 2009, 11:26:44 PM »
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..
Logged
Web developer

jsn

  • Guest
Re: What is the equivalent of show_menu(1, 1) in show_menu2?
« Reply #4 on: October 23, 2009, 01:50:58 AM »
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?

« Last Edit: October 23, 2009, 03:08:22 AM by jsn »
Logged

Offline BerndJM

  • Posts: 1764
  • Gender: Male
Re: What is the equivalent of show_menu(1, 1) in show_menu2?
« Reply #5 on: October 23, 2009, 03:04:38 AM »
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

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

jsn

  • Guest
Re: What is the equivalent of show_menu(1, 1) in show_menu2?
« Reply #6 on: October 23, 2009, 03:27:58 AM »
I just found the answer here:
https://forum.WebsiteBaker.org/index.php/topic,10165.0.html

thanks
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • What is the equivalent of show_menu(1, 1) in show_menu2?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2