Before I attempt this, do you think it's feasible to toy with your adminwidget so that colors get stored in the database and then use those values in the theme? The intention is to allow users to select their personal colorset (selection would be done on a separate page) and save them permanently, or until they wanted to change colors again.

Comments

derjochenmeyer’s picture

this is a per user setting that i would implement on the accout settings page of each user. I would not start with the admin widget...

johnhorning’s picture

I decided to only allow the site administrator to set colors. This is used in conjunction with the Domain Access module so I have several subdomain sites and need to allow each site to have it's own color. I hadn't fully appreciated this theme until I looked into how it works. I moved the color selection widget from the home page to an admin page where the administrator can select the color and then save it in the database. This color is then automatically selected every time the site is loaded. Your widget is very versatile and makes it easy to display and select the colors. I also added a lot more colors, put them into an array and displayed the colors in a table on the admin page.

Thanks for such a great theme! Works out very well. Definitely a step beyond anything else.

derjochenmeyer’s picture

For Drupal 6 there is an implementation of the Theme Settings API ... so in Drupal 6 you can choose and store the default color on the Themes setting page ...