[TYPO3-english] Language key in url

Richard Jäger richard_j at arcor.de
Thu Jun 4 09:32:17 CEST 2009


Hey this is my setup for my "loginsection":

## Overhead Einstellungen

lib.overheadmenu = TEXT
lib.overheadmenu.wrap.splitChar = ;
[loginUser = *]
lib.overheadmenu.wrap = <a 
href="/usercenter.html">Usercenter</a><small>|</small><img alt="" 
src="fileadmin/templates/images/rss_icon.gif"/> <a 
href="/feeds.html">RSS Feeds</a><small>|</small><img alt="Warenkorb" 
border="0" src="fileadmin/templates/images/basket_icon.gif"/> <a 
href="/bookshop/warenkorb.html">Warenkorb</a>
[else]
lib.overheadmenu.wrap = <a 
href="/login.html">Login</a><small>|</small><a 
href="/registrierung.html?tx_srfeuserregister_pi1[cmd]=create">Registrierung</a><small>|</small><img 
alt="" src="fileadmin/templates/images/rss_icon.gif"/> <a 
href="/feeds.html">RSS Feeds</a><small>|</small><img alt="Warenkorb" 
border="0" src="fileadmin/templates/images/basket_icon.gif"/> <a 
href="/bookshop/warenkorb.html">Warenkorb</a>
[loginUser]


[globalVar = GP:L = 1]
lib.overheadmenu = TEXT
lib.overheadmenu.wrap.splitChar = ;
[loginUser = *]
lib.overheadmenu.wrap = <a 
href="/en/usercenter.html">Usercenter</a><small>|</small><img alt="RSS 
Feeds" src="fileadmin/templates/images/rss_icon.gif"/> <a 
href="/feeds.html">RSS Feeds</a><small>|</small><img alt="Basket" 
border="0" src="fileadmin/templates/images/basket_icon.gif"/> <a 
href="/en/bookshop/basket.html">Basket</a>
[else]
lib.overheadmenu.wrap = <a 
href="/en/login.html">Login</a><small>|</small><a 
href="/en/registrierung.html?tx_srfeuserregister_pi1[cmd]=create">Registration</a><small>|</small><img 
alt="RSS Feeds" src="fileadmin/templates/images/rss_icon.gif"/> <a 
href="/en/feeds.html">RSS Feeds</a><small>|</small><img alt="Basket" 
border="0" src="fileadmin/templates/images/basket_icon.gif"/> <a 
href="/en/bookshop/basket.html">Basket</a>
[global]


lib.overheadmenu2 = TEXT
lib.overheadmenu2.wrap.splitChar = ;
lib.overheadmenu2.wrap = <a 
href="/sitemap.html">Sitemap</a><small>|</small><a 
href="/impressum.html">Impressum</a>

[globalVar = GP:L = 1]
lib.overheadmenu2 = TEXT
lib.overheadmenu2.wrap.splitChar = ;
lib.overheadmenu2.wrap = <a 
href="/en/sitemap.html">Sitemap</a><small>|</small><a 
href="/en/impressum.html">Imprint</a>
[global]




Its always in english, not anymore lang = 0 (german)

Mathias Schreiber [wmdb >] schrieb:
> Richard Jäger schrieb:
>> Heythanks, it works great :)
>> The only prob is, [globalVar = GP:L = 1] wont work anymore. Do you 
>> know why?
> 
> Um, no (since it should be).
> So if you do something like this:
> [globalVar = GP:L=1]
> page.100 = TEXT
> page.100.value = <!-- conditions work -->
> [end]
> there is no output?
> 


More information about the TYPO3-english mailing list