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

vlad.dancer’s picture

Hm.. 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.

vlad.dancer’s picture

Features + strongarm do this

dman’s picture

good 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,
:-)

mauritsl’s picture

Status: Active » Fixed

Indeed, look for the "rate_widgets" variable.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.