Feature #17598
closedincludeCSS & includeJS should look if Ext is loaded
0%
Description
if I include a CSS/JS with
page.includeCSS.file1 = EXT:foo/bla.css then it should get checked if EXT "foo" is loaded. Same for includeJS.
checking class.tslib_pagegen.php there are more such cases. I guess best place is inside $GLOBALS['TSFE']->tmpl->getFileName()
but I could be wrong too
(issue imported from #M6335)
Updated by Ben van 't Ende about 17 years ago
Why would you want to load it like that? It makes no sense to me. The behaviour seems ok to me. You call a file directly.
Updated by Georg Ringer about 17 years ago
I got several extensions which don't have any plugin, so there is no other chance than direct TS and it makes no sense to include the code if the ext is not installed.
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0) - TYPO3 Version set to 4.1
As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?
Updated by Riccardo De Contardi over 11 years ago
page.includeJS has the "if" property since TYPO3 4.7... is it enough?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.