Static header or footer navigation with TypoScript | ||
![]() Creating inline, static header or footer navigation for your TYPO3 website is easy. Just copy and paste the following TypoScript code into your TypoScript template’s Setup section and then call You can adjust what pages show by changing the PIDs in lib.nav.top = HMENU
lib.nav.top {
special = list
special.value = 22, 91, 20, 32
1 = TMENU
1 {
NO {
linkWrap = | | |*||*| |
ATagTitle.field = description // title
stdWrap.htmlSpecialChars = 1
}
CUR < .NO
CUR = 1
CUR {
doNotLinkIt = 1
stdWrap.wrap = <span id="current">|</span>
}
}
}
# search box appending
temp.lib.nav.top < lib.nav.top
lib.nav.top >
lib.nav.top = COA
lib.nav.top {
10 < temp.lib.nav.top
20 < lib.static.search
}What About My Footer? Instead of copying and pasting all of lib.nav.footer < lib.nav.top lib.nav.footer.special.value = 39, 40, 41 Related Links
Related Entries | ||


