Postponed
Project:
Domain Variable
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 08:02 UTC
Updated:
17 Mar 2015 at 16:17 UTC
Jump to comment: Most recent
Comments
Comment #1
bforchhammer commentedThe solution employed by the Domain Theme module is to hook into the form building and submission process...
Form building (see
domain_theme_form_alter()):$form[domain_color_defaults]domain_theme_color_submit()anddomain_theme_settings_submit()in order below.Form submission:
domain_theme_color_submit(): If the theme is saved as 'default', we have to be sure not to delete existing color directories.color_scheme_form_submit(): Saves color palette, creates colorized stylesheets and images.domain_theme_settings_submit():Should not be too difficult to replicate for domain variable; could possibly also go directly into variable module (or new "color variables" module?).
Postponed for now. Patches are welcome :-)
Comment #2
attisanany progress / plans on this?