The color module seems to require the theme in folder "sites/all/themes" or in "themes"!

My scenario on a local installation. Domain name: d6

  • create a fresh Drupal installation
  • create a subdir sites/d6
  • copy themes/garland to sites/d6/themes/mytheme, rename garland.info to mytheme.info and modify this .info file accordingly
  • call http://d6/admin/build/themes and set mytheme as default
  • chang color theme to Ash

==> header color is incorrect!

It works all correct if the theme was located in sites//all/themes!

Next scenario: create a garland sub theme:

  • created a fresh Drupal installation
  • created a subdir sites/
  • copied *.css, color, *.png from garland theme to sites/all/themes/mytheme, created a mytheme.info to have garland as base theme
    name = My Theme
    description = My Theme
    version = VERSION
    core = 6.x
    base theme = garland
    stylesheets[all][] = style.css
    stylesheets[print][] = print.css
    
  • called http://d6/admin/build/themes and set mytheme as default
  • configured theme mytheme and changed color to Ash

==> I get:

Messages
* The configuration options have been saved.
* The directory sites/d6/files/color/mytheme-057433f6 has been created.
Errors
* The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
* The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
* The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
* The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.

But the theme seems to work correctly

If the theme was located in sites/d6/themes, the result would be scrambled: colors, images and so on were missing!

Comments

seren10pity’s picture

same problem,

I created a subtheme to custom garland theme, but colors are not kept.
If I duplicate color folder in my theme, I can configure the colors for my sub-theme, but I get the errors above, and the site theme comes back to the default blue Garland theme color...

vivianspencer’s picture

I got this working using the patch here: http://drupal.org/node/466268 and the color.inc example found here: http://drupal.org/node/362679

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.