TYPO3 Footer menu

From snippet wiki
Jump to navigation Jump to search

Define the page or node id where the menu pages live within the constant template area of your main template:

footerid=123

and define an extension template with this setup code:

lib.footer = HMENU
lib.footer {
   special = directory
   special.value = {$footerid}
   1 = TMENU
   1.noBlur = 1
   1.NO.allWrap = |
   1.NO.stdWrap.htmlSpecialChars = 1
   1.ACT < 1.NO
   1.ACT.allWrap = <span class="active">|</span>
   1.ACT.ATagParams = class="active"
   1.ACT.doNotLinkIt = 1
   1.ACT = 1
}