Forums / Setup & design / Add stylesheet to admin interface

Add stylesheet to admin interface

Author Message

paul bolger

Tuesday 30 November 2010 2:13:46 pm

Could someone suggest the easiest, most upgrade-friendly, way to add an extra stylesheet to the admin interface? I'd prefer to do it within my design extension, and to have have a choice of whether it applies to the front and/or the back edit interfaces.

I'm looking into using :before to add user help without modifying the templates.

Paul Bolger

Peter Keung

Tuesday 30 November 2010 6:11:45 pm

In eZ Publish 4.3 and higher, you can add to the settings array [StylesheetSettings]BackendCSSFileList in design.ini.append.php.

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

paul bolger

Wednesday 01 December 2010 1:24:32 pm

Thanks,

I ended up putting the stylesheet in

/extension/ezwebin_custom/design/admin2/stylesheets

As a matter of interest, where does the admin interface look for stylesheets?

For some reason I can't get the packer to switch off so having a bit of difficulty working out what's going on.

Paul B

Paul Bolger