[TYPO3] html with javascript as a content element

Tyler Kraft headhunterxiii at yahoo.ca
Fri Dec 30 13:50:15 CET 2005


Not sure if you can combine conditionals in a template like that.

Give this a try, Kasper mentions this in the last part of "TypoScript 
Syntax and In-depth Study" [1] but if it actually works I dont know.


[globalVar = TSFE:id = 3]&&[globalVar = GP:L=1]

[globalVar = TSFE:id = 3]&&[globalVar = GP:L=2]

[globalVar = TSFE:id = 3]&&[globalVar = GP:L=3]

[END]


Alterantively what you could do is create an extension template for that 
page, and use a language conditional on it.  Unfortuanely the javascript 
will then be included on all subpages of the form page, but in my sites 
that tends to be only a thank you page.



[1] 
http://typo3.org/documentation/document-library/doc_core_ts/Implementing_Conditi-1/



More information about the TYPO3-english mailing list