5095 Posts in 1518 Topics by 1114 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 744 Views |
-
Skinning the CMS

10 June 2010 at 12:18am
Hi All,
I was just wondering if there were any plans to make it easier to do this? Currently, as far as I can tell, the only way you can do this is to extend LeftAndMain, add some extra CSS files and overwrite the current styles. This doesn't feel like the most efficient way to skin it.
It would be nice if you could add a "cms" skin to your theme, or maybe to your mysite and the sit would look for it. Or can you do something like this already and I am missing it?
Cheers,
Mo
-
Re: Skinning the CMS

10 June 2010 at 6:31pm
Well you can template modules like the forum by defining a subtheme like themename_forum and copying template files into the revalant locations so I don't see why you couldn't do a themename_cms/ folder with the templates folder. The CSS / image / JS paths are all probably hard coded but you can define a editor.css file in your theme which the CMS will load, using this you could override the styles.
-
Re: Skinning the CMS

15 June 2010 at 4:13am
Oh, thats a thought. I had forgotten about the old editor.css
.
It would be nice if there was a way to create 'skins', you could even have a 'CMS Skins' portal, similar to themes, modules and widgets.
editor.css should do me though, to
.
Mo
-
Re: Skinning the CMS

16 June 2010 at 4:20pm
Hi There,
I'm brand new to Silverstripe and was wondering how you get the rules in editor.css to load in the manager?
Have tried !important etc but suspect I'm missing something - should the rule take effect automatically or do you have to configure something somewhere?
Cheers
-
Re: Skinning the CMS

16 June 2010 at 5:16pm
The rules should be automatic. Is the editor.css being correctly loaded? Or are your rules being overridden (firebug is a good tool for checking this).
-
Re: Skinning the CMS

16 June 2010 at 5:34pm
Thanks for the reply,
A quick scan in Firebug reveals that none of my new rules from editor.css are being loaded/overridden.
If I put the rules at the bottom of layout.css then they get loaded but some are not - I guess because other style sheets are being loaded after layout.css?
Cheers
| 744 Views | ||
|
Page:
1
|
Go to Top |



