WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: apple on January 20, 2009, 01:20:23 AM

Title: Submenu to stay on all pages
Post by: apple on January 20, 2009, 01:20:23 AM
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.
Title: Re: Submenu to stay on all pages
Post by: BerndJM on January 20, 2009, 03:10:05 AM
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
Title: Re: Submenu to stay on all pages
Post by: apple on January 21, 2009, 01:12:23 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,'
Title: Re: Submenu to stay on all pages
Post by: apple on January 22, 2009, 03:46:17 PM
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: