[TYPO3-english] page.jsInline strips parts of the JavaScript code
Peter Kraume
usenet at kraume.de
Wed Feb 9 08:39:55 CET 2011
Am 08.02.2011 18:09, schrieb Steffen Kamper:
> page.jsInline {
> 5000 = TEXT
> 5000.value (
> MYAPP = {};
> MYAPP.settings = {
> appId: "{$plugin.myext.appID}";
> language: "{$plugin.myext.language}";
> }
> )
> }
>
> then use these vars in your javascript file
> MYAPP.setting.appId
> MYAPP.setting.language
>
Hi Steffen,
thx for your hint! I'll consider this one next time.
Cheers
Peter
More information about the TYPO3-english
mailing list