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 »
  • Need help making a horizontal menu with a page dependent submenu
  • Print
Pages: [1]   Go Down

Author Topic: Need help making a horizontal menu with a page dependent submenu  (Read 3618 times)

dvd_bruggen

  • Guest
Need help making a horizontal menu with a page dependent submenu
« on: May 21, 2009, 07:17:22 PM »
Hello,

I just started with building a website using website baker. Website baker is great in its ease of use and understandability. I decided to modify the standard "round template" (as it already has most of the .php codes). I must admit that i am still a beginner with php and with CMS's, but i think i can pick up the basics.

I am building a site for a restaurant and in the design i use a horizontal menu (doesnt have to be folddown) with a page or group dependent side menu's in a block a little lower on the site. I need this so i can show the different submenu's of the wine menu and al the other food menu's. But i only need them when i click the menu link on the horizontal menu. And for other links on the horizontalmenu a different submenu appears that suites the needs of the other group of pages.

The problem that i have while trying to modify the template is that i do not know how to code this. I have been looking on the forums and have stumbled uppon using show_menu2 but i do not know how to implement this and how to gives pages a root value. But i think that is mainly for drop down menu's instead of the independent submenu block.

Could someone explain this to me and show how i can implement this?
or link a good tutorial?
Logged

instantflorian

  • Guest
Re: Need help making a horizontal menu with a page dependent submenu
« Reply #1 on: May 21, 2009, 09:34:39 PM »
Hi dvd_bruggen

On http://code.jellycan.com/sm2test/ you'll find several examples how to use show_menu2()

Regards

-instantflorian.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Need help making a horizontal menu with a page dependent submenu
 

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