Submenu to stay on all pages

applepie

Dont worry, I figured it out. I didnt realised that Vyni changed my template. Would have asked him but he is no longer with us.  :cry:

applepie

#3
Quote from: BerndJM on January 20, 2009, 03:10:05 AM
- WB Version?
- you use show_menu or show_menu2?
- or maybe a template-specific menu-function?
- give us a code example, how you call the menu(s)

Thanks.

WB 2.7

Codes below for subemu. Which line should I delete to make the submenu stays?

<?php
// Submenu region, only shown when submenu's are available
ob_start
();
show_menu2
(1, SM2_ROOT+1, SM2_START, false,'
  • [a][menu_title]</a>','</li>', '<ul><dl>Menu</dl>');
    $childmenu
    =ob_get_contents();
    ob_end_clean
    ();
    if
    ($childmenu!="") {?>
    <div id="submenu">
    <?php
    echo $childmenu; ?>
    </div>
    <?php
    } ?>

BerndJM

Hi,
a little bit more information please:
- WB Version?
- you use show_menu or show_menu2?
- or maybe a template-specific menu-function?
- give us a code example, how you call the menu(s)

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

applepie

Hi

My site contain main menu on the top and submenu on the left coloum. How do I get my submenu to link to all my top menu. Hope I am making sense. Thanks.