Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Loading alternate CMS CSS based on Member Groups

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 956 Views
  • entercow
    Avatar
    Community Member
    13 Posts

    Loading alternate CMS CSS based on Member Groups Link to this post

    Hi All!

    I've been using SS for a while now and have built lots of really cool functionality. However, I have a quick challenge that I'm not sure how to complete.

    I want to be able to load a particular CSS file when a certain member group logs into the CMS. Basically I have duplicated the layout.css file to layout_simple.css which sets the top menu, left pane, and bottom menu to display:none. Essentially hiding everything except the main content window pane.

    All I want to do is load that CSS file for particular member groups in the security tab. So some admins will log in and see the standard CMS, and others will log in and see the 'simplified' cms.

    Can any of you point me in the right direction? I've built tons of front end functionality, but haven't done too much in the back-end yet.

    Thanks!

  • entercow
    Avatar
    Community Member
    13 Posts

    Re: Loading alternate CMS CSS based on Member Groups Link to this post

    I've back-burner-ed this for the last couple months, but now I need to get it done. So I'll be working on it today and will report back if I figure it out.

    956 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.