Skip to content

Instantly share code, notes, and snippets.

@tan3
Created April 3, 2014 07:50
Show Gist options
  • Save tan3/9950058 to your computer and use it in GitHub Desktop.
Save tan3/9950058 to your computer and use it in GitHub Desktop.
TYPO3: mainnavigation
lib.nav = COA
lib.nav {
10 = HMENU
10 {
entryLevel = 0
#special = directory
#special.value = 10
1 = TMENU
1 {
expAll = 1
noBlur = 1
wrap = <ul>|</ul>
NO = 1
NO.wrapItemAndSub = <li>|</li>
NO.stdWrap.htmlSpecialChars = 1
CUR < .NO
CUR = 1
CUR.wrapItemAndSub = <li class="current">|</li>
ACT < .CUR
ACT.wrapItemAndSub = <li class="active">|</li>
}
2 < .1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment