21303 Posts in 5736 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 967 Views |
-
Theme Switcher function from backend?!

15 March 2010 at 11:43am
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. -
Re: Theme Switcher function from backend?!

15 March 2010 at 1:19pm
Check out these 2 pages on themes and switching.
http://www.ssbits.com/create-a-front-end-theme-switcher/
http://www.ssbits.com/select-a-theme-using-a-url-parameter/ -
Re: Theme Switcher function from backend?!

15 March 2010 at 11:02pm
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).
-
Re: Theme Switcher function from backend?!

16 March 2010 at 9:13am
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.
| 967 Views | ||
|
Page:
1
|
Go to Top |



