[TYPO3-core] RFC: #9149: Additional Stylesheets in template.php

Steffen Kamper info at sk-typo3.de
Sun Aug 10 21:34:04 CEST 2008


Hi,

This is an SVN patch request.

Type: Feature

Bugtracker reference:
http://bugs.typo3.org/view.php?id=9149

Branches: trunk

Problem:
When writing a BE modul there is the possibility to add any JS-Files to 
doc header using $this->doc->loadJavascriptLib()

Such adding is missing with CSS-files. There are only 3 predefined 
stylesheets which can be overwritten

Solution:
I added an array to add stylesheets, in template they will be inserted 
after styleSheetFile and styleSheetFile2. This gives the possibility to 
add any CSS-files to the header

Additional:
In the project for Dashboard such adding is needed as any submodule can 
come along with own stylesheet.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: additionalStyleSheets.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080810/0aac2356/attachment.txt 


More information about the TYPO3-team-core mailing list