[TYPO3-english] Language Menu : help
Stefano
denebola75 at yahoo.it
Fri Jul 29 08:58:49 CEST 2011
Hi all.
I'm new in typo3, and i read many manuals about typoscript :
I'm buliding a new site , that need 2 languages : italian and english.
I have created the "one-tree-fits-all-languages" tree, accordingly to this tutorial
http://typo3.org/documentation/tips-tricks/multi-language-sites-in-typo3/
I need to write a typoscript code that create a language menu that shows only the exisiting language page (a page that is not translated in one of two language doesn't appear in menu)
I wrote this typoscript code :
## menu1livello [BEGIN] ##
lib.menu1livello = HMENU
##includeNotInMenu=1
lib.menuprimolivello.entryLevel=-1
lib.menuprimolivello.special=language
lib.menuprimolivello.special.value = 0,1
lib.menu1livello.1 = TMENU
lib.menu1livello.1.NO {
noLink = false;
allWrap = <li class="livello1">|</li>
}
lib.menu1livello.1.ACT = 1
lib.menu1livello.1.ACT {
allWrap = <li class="livello1selezionato">|</li>
}
lib.menu1livello.1.CUR = 1
lib.menu1livello.1.CUR {
allWrap = <li class="livello1selezionato">|</li>
}
lib.menu1livello.1.USERDEF1 = 1
lib.menu1livello.1.USERDEF1 {
allWrap =
doNotLinkIt = 1
}
But there is something that is doesn't wrote correctly
Anyone could help me?
Any help will be appreciated.
Thanks in advance
More information about the TYPO3-english
mailing list