[TYPO3] html with javascript as a content element

Jörg Verstraete jorg.no.verstraete at telin.spam.ugent.be
Sun Jan 1 18:12:33 CET 2006


Tyler Kraft wrote:
> [globalVar = TSFE:id = 3]&&[globalVar = GP:L=1]

I'll give it a go, thanks!
Euhm, is the default language L=0 ? Or should I just specify it as the 
first one?

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


> 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.

The form page has no subpages, so that would be no issue for me 
(luckily, as there is a lot of Javascript on it :-)). Initially, I tried 
making an extension template, but it failed: the page said it had no 
template anymore.
So I guess I'll have to read up more on how those extension templates 
work. :-)

Thanks again,


Jörg



More information about the TYPO3-english mailing list