[TYPO3] Split up navigation using Templavoila
Johnny Chiang Kejs
jochke at jochke.dk
Sat Aug 12 02:29:24 CEST 2006
I want to have navigation in two levels, each level should be in
different place on the page.
I've succeded to get the first level working, but I can't get the
second level to work.
This is my TS:
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
# Menu 1 cObject
lib.menu_1 = HMENU
# First level menu-object, textual
lib.menu_1.1 = TMENU
lib.menu_1.1 {
# Normal state properties
NO.allWrap = <span class="sektionKnapNormal"> | </span>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.allWrap = <span class="sektionKnapMarkeret"> | </span>
}
# Menu 2 cObject
lib.menu_2 = HMENU
lib.menu_2.entryLevel = 1
# Second level menu-object, textual
lib.menu_2.2 = TMENU
lib.menu_2.2 {
# Normal state properties
NO.allWrap = <span class="siteLinkNormal"> | </span>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.allWrap = <span class="siteLinkMarkeret"> | </span>
}
Any help is greatly appreciated.
/Johnny
More information about the TYPO3-english
mailing list