Having tweaked some settings for corolla (in a footheme subtheme), I then then used "exported theme settings" to copy settings to code. This code was pasted into the bottom of a footheme.info on a 2nd server.
On the second server, I reloaded caches, and also disabled/enabled the theme.
However settings such as the corolla gui colours are not being pulled over.
What is the correct procedure for copying corolla/footheme settings?

CommentFileSizeAuthor
#4 color.zip8.03 KBJeff Burnz

Comments

Jeff Burnz’s picture

Category: bug » support

Colors are not in theme settings, they are in the color include file, this is how Drupal works, colors are handled by the Color module - a quite separate system and of course a Drupal core module. Currently there is no way in Drupal core to export your custom color scheme to file, i.e. no way to capture the configuration. I know this is a problem and a real pita.

I have built a way of exporting color settings, however it currently requires a hack to Color module, which is not so good but also not the end of the world, I might put some time into getting this to work without a hack.

One the issues is how Drupal saves the color scheme - it only holds one color scheme in the database, the currently active scheme - not all the schemes, and for Color module to work we need at least two schemes - the default and the currently active scheme.

boran’s picture

I see, thanks for the precision indeed.
Other non colour theme settings should come across though with the method I noted?

Urson’s picture

Thank you. I had the same issue.

Jeff Burnz’s picture

StatusFileSize
new8.03 KB

I have made this work in 7.x-3.x but not yet committed the code. Sadly this does not help you one bit since you are not using that version of the theme, so your only recourse is to copy the hex values manually, or use the evil hacked color.module file attached... lol, as stated, in 7.x-3.x this will be built into the theme and works by saving an entire color.inc file with the custom scheme added to the scheme array.

To use the evil hacked color module simply decompress the archive and replace color.module file in core, then save the theme settings, it will generate a new directory and file in public files, the file in there will hold ONLY the custom color scheme, its up to you to get this into the color.inc file, so its rough and was just at test really, but 7.x-3.x is perfection and you can use the file with only one edit to change the custom scheme name.