Integrate possibility to define additional header data via TypoScript
Thus, this feature request is about to integrate an accordant possibility.
10 = HEADERDATA
data = path:EXT:myextension/res/stylesheet.css
wrap = <link rel="stylesheet" type="text/css" href="|" />
prepend = TEXT
prepend.char = 9
- add the CSS file "stylesheet.css" to the HEAD part of the current document
(issue imported from #M9923)
Updated by Johannes von Bargen almost 12 years ago
Yeah! That would be cool! I just had a discussion with several people at typo3camp Hamburg about such a possibility.
I am currently working on a extension which integrates jQuery Galleriffic and Galleria into cType Image. That brought the ugly headerData array back to my mind... Additionally it would be cool if headerData was associative and extensions wouldautomatically have a private namespace in the array to add their stuff (the extension key). This way the case where one ext overwrites js /css/meta stuff added by another one would never happen again by accident but otherwise fields of the array could be addressed explicitly if ext B absolutely wants to change something ext A has added.
I think I will open up an own bug for that...
Updated by Oliver Hader almost 12 years ago
add a new entry to "Content Objects (cObject)" (tsref.cObject):