Download & Extend

Color.inc preview setting doesn't work

Project:Color.module: SoC 2008
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Turning on the “ Color.inc preview” checkbox on admin/settings/schemes doesn't work.

When you go to admin/build/themes/settings/garland, for example, it gives this error:

warning: preg_match() expects parameter 2 to be string, array given in includes/bootstrap.inc on line 755.

It also displays a blank textarea in the “Color.inc viewer (for theme developers)” fieldset.

This is because the #value of that textarea is getting set to an array instead of to a string with the contents of the color.inc file.

Comments

#1

We're going to have to update this code to work with the hook_color() (if we decide to keep that)

nobody click here