[TYPO3-english] stdWrap and language

Rik Willems rik at actiview.nl
Tue May 19 17:15:01 CEST 2009


Hi Micheal,

Works like a charm! Thanks for the help.
stdWrap still has some misteries...

Rik

Michael Miousse schreef:
> Le Mon, 18 May 2009 13:17:43 +0200, Rik Willems a écrit :
> 
>> Hi all,
>>
>> The TSref says:
>>
>> config.language = de
>> page.10 = TEXT
>> page.10.value = I am a Berliner!
>> page.10.lang.de = Ich bin ein Berliner!
>>
>> Output will be “Ich bin...” instead of “I am...”
>>
>>
>> This is great because you don't have to use a language condition of
>> which the id can change accros sites. But, I'd like this for stdWrap as
>> well, how would that work?
>>
>> page.10.value.wrap = <div class=default> | </div>
>>
>> Output will be “<div class=default>Ich bin...</div>” instead of “<div
>> class=default>I am...</div>”
>>
>> But something like:
>> page.10.lang.de.wrap = <div class=lang-de> | </div> or
>> page.10.wrap.lang.de = <div class=lang-de> | </div> doesn't work.
>>
>> Is there a way to get this done? Looking forward to ideas... Thanks!
>>
>> Regards,
>> Rik
> 
> there is a way
> 
> page.10 = TEXT
> page.10.value = test
> page.10.innerWrap = <div>|</div>
> page.10.innerWrap.lang.de = <div class="de">|</div>
> 
> this should work try it and keep me posted
> 


More information about the TYPO3-english mailing list