[Typo3] Text based language menu
Sean Ellis
sellis at telus.net
Tue Oct 25 05:12:24 CEST 2005
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
--
And Lucy, dear child, mind your arithmetic... What would
life be without arithmetic, but a scene of horrors?
Syndey Smith, 1835
More information about the TYPO3-english
mailing list