show_menu2 mainmenu + submenu problem

JonH


Ruud

I think that this is what you want:

The top menu: show_menu2(0,SM2_ROOT,SM2_START)
The second: show_menu2(0,SM2_ROOT+1, SM2_CURR+1)

For all options have a look at the developer website: http://code.jellycan.com/sm2test/

Ruud
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

JonH

I don't need the same links showing on both menus. I need both menus showing at the same time (if there are subpages).

Look here at the site under construction:
http://realitycheck.fi/wb/pages/palvelut.php

If you click "palvelut" the submenu will show, but the mainmenu will disappear. How do I make the mainmenu to stay and show a submenu if there are subpages?

ruebenwurzel

Hello,

if you wanna have both menu's the same links why didn't you use for both the same menu-calls? Try both with a simple <?php show_menu2(); ?>

Matthias

JonH

How do I display the mainmenu links and submenu links at the same time? Now when I click on a mainmenu link with subpages, the mainmenu link disappears and the submenu links appear.

This is what I have now:

Mainmenu:
<?php show_menu2(1); ?>

Submenu:
<?php show_menu2(0,SM2_ROOT+1); ?>

I tried different settings, but they are very confusing.

Please advice, thanks!