Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Theme Switcher function from backend?!

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1147 Views
  • SSadmin
    Avatar
    Community Member
    90 Posts

    Theme Switcher function from backend?! Link to this post

    i have been used several different cms before and thought its quite important to have a theme switcher function from CMS backend. Won’t need to be so fancy, just a dropdown list can loop the themes in default themes directory and read the name off, and a save or apply button can saving changes

    For general users, they don’t have too much deep understanding of the structure of silverstripe. Once they want to to change to an other theme, i think it’s could be easier for them just logging to cms admin, then select a theme in a dropdown list they want, rather than locate to .config file in mysite directory then change the SSviewer::set_theme("your theme").

    Also for developer companies, this could also be another convenience, they could be able to provide another theme for clients' websites. The clients will choose which one to apply depends on their needs and requirements by simply clicking the theme switcher fromBackend.

    Don’t know is has been achieved in 2.4 yet or not. But think it could be another beauty of the silverstripe.
    Do like Silverstripe a lot.
    Thanks for the great work from the developers all around the world.

  • BigChris
    Avatar
    Community Member
    63 Posts
  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Theme Switcher function from backend?! Link to this post

    This is in 2.4 already, using the SiteConfig feature (the Site Content node in site tree holds a dropdown where you can choose the theme).

  • SSadmin
    Avatar
    Community Member
    90 Posts

    Re: Theme Switcher function from backend?! Link to this post

    Hey,thanks. Its really great to see the 2.4 is taken the piece into action.
    Thanks,BigChris. for your information on SSbits. Those gave me some hints for writting a theme swithcing code in CMS.
    Thanks Sean,for ponting out the new features in SS2.4 thought its could be much easier for clients if we have the switching features.

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