Project

General

Profile

Actions

Feature #17598

closed

includeCSS & includeJS should look if Ext is loaded

Added by Georg Ringer over 16 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2007-09-12
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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)

Actions #1

Updated by Ben van 't Ende over 16 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.

Actions #2

Updated by Georg Ringer over 16 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.

Actions #3

Updated by Alexander Opitz almost 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?

Actions #4

Updated by Riccardo De Contardi almost 11 years ago

page.includeJS has the "if" property since TYPO3 4.7... is it enough?

Actions #5

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF