Jump to:

1347 Posts in 439 Topics by 514 members

Themes

SilverStripe Forums » Themes » New Administration Themes

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 3955 Views
  • 4Design
    Avatar
    Community Member
    1 Post

    New Administration Themes Link to this post

    Hi Guys

    Great CMS! We want to create some administration themes for Silverstripe. What is the best way to go about implementing custom admin themes without interfering with your core and frequent updates?

    I see a normal theme is called as SSViewer::set_theme('theme_name'); and themes in mysite/cms would potientially override themes in the theme folder. Is there a way we can modularly create a theme in the themes folder called lets say cms_admin and call this like the site theme itself only now for the cms?

    If not what is the best way to override the admin themes without replacing your default admin theme. If there is no current way we will gladly create one.

    Let me know.

    Regards
    J

  • PeterB
    Avatar
    Community Member
    18 Posts

    Re: New Administration Themes Link to this post

    Likewise, I'd like to know the answer!

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: New Administration Themes Link to this post

    Im not fully sure it will work but for things like forum you can style it by overriding files with themes/yourtheme_forum/ so perhaps you can do a themes/yourtheme_cms/ folder and override the theme files?

    The CSS paths are likely to be hardcoded to /cms/ so it might just require a slight tweak in that department

  • 181920
    Avatar
    Community Member
    8 Posts

    Re: New Administration Themes Link to this post

    This is of interest too, it would be cool to make it dead simple. Eventually allowing for templates to be built and available for download.

  • UncleCheese
    Avatar
    4085 Posts

    Re: New Administration Themes Link to this post

    It's pretty easy. There's a whole chapter in the SS book on how to do it. Just override the templates and CSS.

  • jorrie
    Avatar
    Community Member
    40 Posts

    Re: New Administration Themes Link to this post

    @UncleCheese

    Im also interested in modifying the backend admin and overwriting the theme.

    I saw there is /cms/css /cms/images /cms/templates all making up the admin backend.

    Is it possible to copy all those files to say themes/cms_admin/ and let it overwrite?

    you say its in the docs, but I could not find it, perhaps you can give an example of where to copy the files to achieve the wanted results? Thanks in advanche!

  • jorrie
    Avatar
    Community Member
    40 Posts

    Re: New Administration Themes Link to this post

    As a sidenode

    * How could I set my custom admin backend "theme" for a certain usergroup only * ?
    Anyone can answer that question?

    I would like endusers to see a simplified backend but use the full normal admin backend "theme" myself

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: New Administration Themes Link to this post

    I think under mysite or under themes/mytheme_cms

    3955 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.