[TYPO3] language menu in drop-down box

rupali.ffm at googlemail.com rupali.ffm at googlemail.com
Fri Sep 12 14:30:44 CEST 2008


now this one is working cool, as desired
# DROPDOWN LANGUAGE MENU
lib.lang_sel= HMENU
lib.lang_sel.special = language
lib.lang_sel.special.value = 0,2
lib.lang_sel.special.normalWhenNoLanguage = 1
lib.lang_sel.stdWrap.outerWrap=<form>|</form>
lib.lang_sel.stdWrap.dataWrap=<select class="inform" name="L"
onchange="if(this.options[this.selectedIndex].value != '0')&nbsp;
top.location.replace('index.php?id={page:uid}&L=' +
this.options[this.selectedIndex].value );&nbsp; else&nbsp;
top.location.replace('index.php?id={page:uid}'); ">|</select>
lib.lang_sel.1 = TMENU
lib.lang_sel.1 {
  NO {
    linkWrap= <option |</option>
    stdWrap.setCurrent= value="0">English|| value="2">Deutsch
    stdWrap.current = 1
    doNotLinkIt = 1
  }
  ACT < .NO
  ACT=1
  ACT.linkWrap = <option selected | </option>
 }

##language  Menu [endet]

how to manipulate it so that instaed of ('index.php?id={page:uid}&L=' ) page
id's i can call main pages with page-titles as generated by realurl?

On Fri, Sep 12, 2008 at 1:52 PM, Xavier Perseguers <typo3 at perseguers.ch>wrote:

> rupali.ffm at googlemail.com wrote:
> > better if i do it without sr_language_menu
> > any help is most welcome.. :)
>
> I'm not sure it is better without this extension but if you really want
> this, then simply extract the useful part of TS from sr_language_menu
> and you're done with the main part.
>
> --
> Xavier Perseguers
> http://xavier.perseguers.ch/en/tutorials/typo3.html
> _______________________________________________
>  TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list