includeCSS & includeJS should look if Ext is loaded
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)
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.
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.
- Status changed from New to Needs Feedback
- Target version deleted (
- 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?
page.includeJS has the "if" property since TYPO3 4.7... is it enough?
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.
Also available in: Atom