[TYPO3-english] menu problem
Lex Thoonen
Lex at peng.nl
Sat Sep 19 11:17:16 CEST 2009
Hi,
I've been looking and trying but can't figure it out:
on:
http://www.oerdis.nl/index.php?id=root
the brown navigation option are the menu (the white breadcrumb).
when i click on an option, say 'achtergrond', on that page this level
of the menu disappears and the second level appears on the same spot.
What I'm trying to do is to leave the menu as it is on eveyry page,
and once i've managed that, make it a dhtml menu with folding out the
suboptions of the first level of the menu.
I thought it was in the menu bit of my template setup, but whatever
other menu I've tried, it keeps disappearing on sub pages. So my guess
is it must be somewhere else.
Any hints are appreciated!
# Menu 1 cObject
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
# Normal state properties
NO.allWrap = <li class="menu1-level1-no"> | </li>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <li class="menu1-level1-act"> | </li>
}
# Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
# Normal state properties
NO.allWrap = <li class="menu1-level2-no"> | </li>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <li class="menu1-level2-act"> | </li>
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###nav### subpart with dynamic menu:
subparts.nav < temp.menu_1
# Substitute the ###main### subpart with some example content:
subparts.main < styles.content.get
# Substitute the ###sidebar### subpart with some example content:
subparts.sidebar < styles.content.getRight
# Substitute the ###brcr### subpart with bread crumbs extension:
subparts.brcr < temp.breadCrumb
}
--
Lex Thoonen
Pêng Smart Web Design - http://www.peng.nl
Gran Canaria Info - http://www.gran-canaria-info.com
Hollandse Nieuwe - http://www.hollandsenieuwe.com
tel. +34 928 88.61.77
More information about the TYPO3-english
mailing list