Posts Tagged ‘Menu’

TYPO3: Logout menu button

The default loginbox shows you a form to logout as a FE-user. If you’d like a menu button instead you can use to following method:
1) Create a new page – choose pagetype External URL
2) Use to following URL: www.YOURURL.com/index.php?id=YOUR-HOMEPAGE-ID&logintype=logout

Read the rest of this entry »

TYPO3: A language menu

Here’s a snippet for a nice language menu…

temp.languagemenu = COA
temp.languagemenu.wrap = <div id=”language”> | </div>
temp.languagemenu.10 = HMENU
temp.languagemenu.10 {
special=language
special.value = 0,1,2,3
1 = TMENU
1 {
wrap = <ul>|</ul>
NO = 1
NO {
stdWrap.cObject = TEXT
stdWrap.cObject {
value = Default Language (id=0) || Language with id=1 || Language with id=2 || Language with id=3
}
allWrap = <li>|</li>
}
ACT < .NO
ACT {
allWrap = [...]

Read the rest of this entry »

TYPO3: A really simple and basic menu

This is probably the most simple way to add a dynamic menu to your TYPO3 website. Just put the code into the Typoscript setup and parse temp.menu through the autoparser.
temp.menu = HMENU
temp.menu.1 = TMENU
temp.menu.1 {
NO.ATagBeforeWrap = 1
}
Now you have a menu with nothing more than just an anchor tag.

Read the rest of this entry »