Project

General

Profile

Actions

Feature #19693

closed

Integrate possibility to define additional header data via TypoScript

Added by Oliver Hader almost 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2008-12-11
Due date:
% Done:

0%

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

Description

Imagine you've got an extension that shall add a JavaScript and a CSS file to the HEAD part of the HTML document of the current page. This is possible in modifying $TSFE->additionalHeaderData. However, when your extension does not come with a PHP part and consists only of TypoScript, it's not possible.

Thus, this feature request is about to integrate an accordant possibility.

Example:
10 = HEADERDATA
10 {
data = path:EXT:myextension/res/stylesheet.css
wrap = <link rel="stylesheet" type="text/css" href="|" />
prepend = TEXT
prepend.char = 9
}

This would do the following:
  • add the CSS file "stylesheet.css" to the HEAD part of the current document

(issue imported from #M9923)


Files

0009923.patch (1.02 KB) 0009923.patch Administrator Admin, 2008-12-11 20:55
0009923_v2.patch (1.4 KB) 0009923_v2.patch Administrator Admin, 2009-06-25 19:42

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20661: [Feature] Add class for render HTML header/footer for BE and FEClosedSteffen Kamper2009-06-24

Actions
Actions

Also available in: Atom PDF