Feature #15420
closed[PAGE].includeJS, upload, create and edit JavaScript JS files
0%
Description
the old bug: it is not possible to change the list of file extensions for the template editor, because the list of allowed extensions is hardcoded in a core file (typo3/ext/tstemplate/ts/index.php line 60). So its not possible to allow uploading, creation and editing of JavaScript files by an extension.
the new feature: It will be possible to upload, create and edit JavaScript JS files in a template record. Furthermore it will be possible to include a JavaScript in the same way you include CSS stylesheets in TypoScript. With a new [PAGE] property .includeJS.
This feature is very helpful for AJAX and DHTML devlopers. It makes using Templates with JavaScripts more organized, because it won't be necessary any more to put .js files to the fileadmin/ folder or rename them. It will straigt forward extend the good concept of .includeCSS.
I added a ZIP with some additional Information (i.e. the documentation of new .includeJS property) and the three files, that has to be patched (I did so, with the CVS versions from 01-14-2006 - diffs included)
I described, how to patch an existing 3.8 installation at
http://web.inf.tu-dresden.de/~jv525052/typo3/190.0.html
(issue imported from #M2272)
Files