Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 06:02:16 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155546
Posts in
21714
Topics by
7736
Members
Latest Member:
chris85
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
sidebar navigation of specific pages only?
Pages: [
1
]
Go Down
Author
Topic: sidebar navigation of specific pages only? (Read 195 times)
pivey
Offline
Posts: 33
sidebar navigation of specific pages only?
«
on:
May 26, 2011, 05:16:02 PM »
Dear friendly WB users,
i am developing a hotel chain page, the chain has 8 different hotels in it.
i placed my main navigation at top like page A,B,C,D,E etc with its sub pages.
Now: i have 8 hotels, which have their sub-pages
I need that, while user is in a specific hotel, to call in sidebar ONLY navigation tree of THAT hotel.
Generally asking: how do i call ONLY specific navigation parts wherever i want?
I was reading docu and forum but still confused.. sorry
Your help is apreciated
Logged
kweitzel
Forum administrator
Offline
Posts: 6976
Re: sidebar navigation of specific pages only?
«
Reply #1 on:
May 26, 2011, 08:11:12 PM »
Show_Menu2 has a option to use a specific Page_ID as starting point for the menuoutput. Following is the way to go for you:
1) Query the RootParent of the current page_id and store it in a variable.
2) Use the variable with this RootParentID in the menu call
This will output the complete Submenu to which you then can put any options that show_menu2 offers.
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
pivey
Offline
Posts: 33
Re: sidebar navigation of specific pages only?
«
Reply #2 on:
May 26, 2011, 08:18:25 PM »
that's why i love this forum.
Always helpful community.
WB is so nice, thx a lot for help
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...