[Typo3] Text based language menu

Ries van Twisk typo3 at rvt.dds.nl
Tue Oct 25 06:31:56 CEST 2005


Sean Ellis wrote:

>Ries van Twisk wrote:
>
>Hi Ries,
>
>  
>
>>I wonder if it's possible to have instead to see the flags for the 
>>language menu,
>>see the language text?
>>    
>>
>
>would this be suitable? As you can see from the comments it's something 
>that I copied from the ng here.
>
># Re: [Typo3] text-based language menu (from HMENU)
># matthew at manderson.co.uk
>// clear the existing style and wrap
>plugin.tx_srlanguagemenu_pi1._CSS_DEFAULT_STYLE >
>plugin.tx_srlanguagemenu_pi1.links.stdWrap.split.wrap >
>
>//add new wraps
>plugin.tx_srlanguagemenu_pi1.links.stdWrap = <p> | </p>
>plugin.tx_srlanguagemenu_pi1.link.NO.stdWrap.wrap = <span class="nav"> | 
></span>
>plugin.tx_srlanguagemenu_pi1.link.INACT.stdWrap.wrap = <span 
>class="nav"> | </span>
>plugin.tx_srlanguagemenu_pi1.link.CUR.stdWrap.wrap = <span class="nav"> 
>| </span>
>
>//config the menu into a temp object called languageMenu
>temp.languageMenu < plugin.tx_srlanguagemenu_pi1
>temp.languageMenu.languagesUidsList = 4,3,6
>temp.languageMenu.defaultLayout= 2
>temp.languageMenu.useSysLanguageTitle = 1
>temp.languageMenu.useSelfLanguageTitle = 1
>
>Sean
>
>
>  
>
Sean,

thank you for your reply.
I indeed use something like that...
Still I am wondering if it cannot be done with just typoScript,
Afterall Kasper implemented the language menu and I am sure he thought about
people that don't want to see tha flags, but just the TS.

Ries



More information about the TYPO3-english mailing list