By frosty22 on
Hi,
I dont know how I can make submenu to some div (I dont know how I can say it).
My hierarchie in "Menu" -> "Primary links":
+ Homepage
+ Membership
+ Structure
+ Registration
+ Benefits
+ Marketing
+ Service
+ Projects
+ Downloads
+ About us
etc.
I have "primary menu" in the header -> links Homepage, Membership, Marketing, Service, About us .. and I want writing submenu to the other
(in theme - page.tpl.php) .. for example after click on Membership in primary link it show Structure, Registration and Benefits.
Execuse my English please, maybe it help screen with this problem -> http://img3.imgup.eu/OHKBV-portal-design-(final).jpg
Thanks so much!!!
Comments
Repair: + Homepage +
Repair:
+ Homepage
+ Membership
---+ Structure
---+ Registration
---+ Benefits
+ Marketing
+ Service
---+ Projects
---+ Downloads
+ About us
there are many ways to do
there are many ways to do this, depending on your exact needs...
you could simply set your submenu block's visibility settings so it only shows at specific paths.
you could programatically (at the theme level) display a specific submenu based on the current path alias (e.g. the "membership" submenu is displayed at any path starting with 'membership/': 'membership/structure', 'membership/registration', etc).
you could use the menu_tree function (D6) in your block or theme to render a specific menu wherever you'd like.