WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Submenu to stay on all pages

(1/1)

apple:
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.

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

apple:

--- 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)

--- End quote ---

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
} ?>

apple:
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:

Navigation

[0] Message Index

Go to full version