Jump to:

1347 Posts in 439 Topics by 514 members

Themes

SilverStripe Forums » Themes » Allowing clients to customize color schemes...

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 1789 Views
  • huskyseehuskydo
    Avatar
    Community Member
    3 Posts

    Allowing clients to customize color schemes... Link to this post

    Hello!

    I am a newbie, and was wondering if anyone knows of a plugin or module that will allow my client to change color schemes within the theme. I'm looking for something that the client can access through the CMS. The client does not know coding, so she will not be able to customize the theme that way. I will also create a thread in the "Customizing the CMS" forum as well.

    Thanks in advance!

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Allowing clients to customize color schemes... Link to this post

    Hi,

    one way to do this would be to have a dropdown in the cms where you let the user select a few colors, eg red, blue, grey etc...

    This value would be saved in a field called $ColorScheme.

    You could then add this value as a css-class to the body tag or whatever and based on that you could add different possible css-styles for every possible '$ColorScheme'.

  • mccarville
    Avatar
    Community Member
    32 Posts

    Re: Allowing clients to customize color schemes... Link to this post

    My thoughts are similiar to dio5... I would give the user a dropdown to select a theme from the CMS, and then write custom themes with different color schemes.

    There is a atutorial in the thread below:
    http://www.silverstripe.org/releases-and-announcements/show/252657

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