Low Variables and MSM - variables not copied (as expected) when new site created
Hi Low,
I am using Low Variables on an MSM site install and when I created a new site I copied everything from the original - variables, channels, fields etc...
Now technically LV did copy the variables over, but it did not remember what type of variable the original was. All of my copied variables were text areas (I have since manually changed them) - file fields, matrix, input, etc... all changed to text area.
Additionally the new site LV has the variable name correct, but the variable label is missing. Finally all variable groups were missing and had to be manually created and then variables moved over. (haven't yet checked parsing order preferences)
One last thing, I have some of my variables set to save as files. When I change the path in site2, it is also changed in site1. Is it possible to have different paths for each site?
EE 2.5.2
LV 2.3.0
Replies
Low 7 Aug 2012 14:21
Hey Sean,
Alas, EE doesn't offer any hooks to migrate 3rd party data to a new MSM site. LV uses the native exp_global_variables table to store the variable names and data, so that's copied over. But all other data (labels, settings, groups) can't be copied over due to the lack of hooks.
The save-as-file path setting is installation wide (just like templates, if I'm not mistaken).
Sean 7 Aug 2012 14:24
Low,
bummer - actually templates can be saved on a per site basis, but if there isn't a hook, then you won't be able to do it with LV.
Thanks for the answer.