Messing with the hook_theme() and forms API
Commit
#118781
This is a commit so my mentors (Konstantin and Dmitri) and anyone else who wants to can see what I've been working on. There is a lot of temporary code in this commit. Thanks to Merlinofchaos for the magic elixir and clarification regarding themes.
Changes:
+ Inline color scheme select
+ Fixed schemer to work with more themes!
+ Schemer now has some (maybe temporary) support for legacy color.inc files. It will present a warning but still adds to the database all the same.
+ Split functions up into color.image.inc and color.algorithms.inc
- Removed indexes for Primary key. For now to change this please Uninstall/Reinstall module. It will suppress some duplicate errors from before.
Known Quirks: I cannot get the values of the select boxes for color schemes on color-enabled themes to all submit seperately on /user/{uid}/edit. It seems as if the last select box overwrites all the previous ones. And the ['colorselectbox'] hex shows up all around the form output with dprint_r($form);
+ Inline color scheme select
+ Fixed schemer to work with more themes!
+ Schemer now has some (maybe temporary) support for legacy color.inc files. It will present a warning but still adds to the database all the same.
+ Split functions up into color.image.inc and color.algorithms.inc
- Removed indexes for Primary key. For now to change this please Uninstall/Reinstall module. It will suppress some duplicate errors from before.
Known Quirks: I cannot get the values of the select boxes for color schemes on color-enabled themes to all submit seperately on /user/{uid}/edit. It seems as if the last select box overwrites all the previous ones. And the ['colorselectbox'] hex shows up all around the form output with dprint_r($form);