[TYPO3] Modifying one body tag

Tyler Kraft headhunterxiii at yahoo.ca
Wed Feb 28 15:24:49 CET 2007


read tsref! its all in there in the section about conditions.... (your 
looking to use a combination of conditions, and then the language 
variable with GP instead of TSFE)




Sebastian Baciu [GMAIL2] wrote:
> Amazing! Worked flawlessly! Thank you very much!
> 
> Just one more question. What if i want to add different modifications for
> different languages on the same ID page? Lets say i want to load german
> images on the german page and english ones on the english page. How can i
> get the conditional statement to operate based on page language?
> 
> Thanks in advance...
> 
> Sebastian
> 
> On 2/27/07, Tyler Kraft <headhunterxiii at yahoo.ca> wrote:
>>
>> don't forget to end the condition though...
>>
>> [globalVar = TSFE:id=73]
>> ......
>> [global]
>>
>>
>>
>> Martin Mifsud wrote:
>> > I guess you can either use an extension template, or a condition like:
>> >
>> > [globalVar = TSFE:id = 99]
>> > page.bodyTag = <body onload=blah()>
>> >
>> > Martin
>> >
>> > Sebastian Baciu [GMAIL2] wrote:
>> >> Hello,
>> >>
>> >> I need to add a specific bit of javascript to one body tag on a
>> specific
>> >> page, the javascript will be used to preload images. This only needs
>> >> to be
>> >> done to one page on the entire site, and i cant seem to find a way to
>> >> do it.
>> >> Can anyone point me in the right direction?
>> >>
>> >> Thank You,
>> >>
>> >> Sebastian
>> >> _______________________________________________
>> >> TYPO3-english mailing list
>> >> TYPO3-english at lists.netfielders.de
>> >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>> >>
>> _______________________________________________
>> 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