[TYPO3-english] Disable caching of a plugin

Philipp Gampe phil at philippgampe.info
Mon Apr 19 23:09:36 CEST 2010


Am 19.04.2010, 22:13 Uhr, schrieb Erik Svendsen <erik at linnearad.no>:
>
> page.headerData.996 = TEXT
> page.headerData.996.value = <script language='javascript' //  
> src='typo3conf/ext/myext/res/my.js'></script>

in modern TYPO3 (4.3.x) you better use one of the includeJS properties:

page.includeJSlibs.myExtKey = path/somefile.js

this much better readable for the user if he tries to understand your code

Best regards
-- 
Philipp Gampe


More information about the TYPO3-english mailing list