Posted on December 15, 2008Maarten
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 »
Posted on November 24, 2008Maarten
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 »
Posted on September 8, 2008Maarten
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 »