Closed (fixed)
Project:
Rate
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2012 at 21:31 UTC
Updated:
20 Nov 2012 at 22:00 UTC
Just wondering, if there is any capability to import/export configuration of Rate Widgets, either manually or automatically through such services as Bundle_Copy, Features, Patterns, Deploy, etc. Thanks!
I'm going to be using a bunch of different widgets most likely, so I'd like to have their configuration visible to my Git repository for versioning and staging.
Comments
Comment #1
vlad.dancerHm.. I found in rate code $widgets = variable_get(RATE_VAR_WIDGETS, array()) that holds all widgets. And we can use variable_set() in our custom module in .install file to import this settings.
Comment #2
vlad.dancerFeatures + strongarm do this
Comment #3
dman commentedgood answer. good design.
lots of modules build their own storage systems. If it can be avoided or put in basic variables like this, then life becomes good,
:-)
Comment #4
mauritsl commentedIndeed, look for the "rate_widgets" variable.