graphical language menu

I found this Language-Menu using a simple Typoskriptsnipped. I found this on http://snippets.typo3.org/snippets/ . I think it is much easier than the skript (languages.inc.php) which comes with the TYPO3 install.

temp.langMenu = HMENU
temp.langMenu.special = language
temp.langMenu.special.value = 0,1,2
temp.langMenu.special.normalWhenNoLanguage = 0
temp.langMenu.1 = GMENU
temp.langMenu.1.NO {
9 = IMAGE
9.file = fileadmin/template/img/uk_d.gif || fileadmin/template/img/de_d.gif || fileadmin/template/img/fr_d.gif
}
 
temp.langMenu.1.ACT < temp.langMenu.1.NO
temp.langMenu.1.ACT = 1
temp.langMenu.1.ACT.9.file = fileadmin/template/img/uk.gif || fileadmin/template/img/de.gif || fileadmin/template/img/fr.gif
Diese Seite Bookmarken:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkArena
  • MisterWong
  • TwitThis
  • Live
  • MySpace
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • Wikio

Related posts:

  1. A nice Languagemenu made with TS For all those who do not want to use the...
  2. Language detect Well, for those who handle Multi-Language Sites: This Plugin detects...
  3. Headline als Image darstellen Mit Hilfe von ein Paar Zeilen Typoskript ist es möglich,...

Related posts brought to you by Yet Another Related Posts Plugin.

Leave a comment

Your comment