Feature #19208

Additional Stylesheets in template.php

Added by Steffen Kamper almost 7 years ago. Updated almost 5 years ago.

Status:Closed Start date:2008-08-10
Priority:Should have Due date:
Assigned To:Christian Kuhn % Done:

0%

Category:- Spent time: -
Target version:-
PHP Version:5.3 Sprint Focus:
Complexity:

Description

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,

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

In the project for Dashboard such adding is needed as any submodule can come along with own stylesheet.
(issue imported from #M9149)

additionalStyleSheets.diff Magnifier (2.5 kB) Administrator Admin, 2008-08-10 21:25


Related issues

related to Core - Bug #19490: RTE uses JScodeLibArray to insert CSS Resolved 2008-10-21

History

#1 Updated by Christian Kuhn about 6 years ago

This patch was dropped in core list as committed #19490 solved the same problem.

Also available in: Atom PDF