All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Variables saving as files in two locations

Jonathan 2 May 2017 17:58 question, complete

Hi Low,
I'm using Low Variables 3.0.4 in EE 3.4.3.

I declared a path for variables to save as files in the settings and that works as expected. I am only setting a 5-6 of my variables to save as files.

I recently noticed that ALL of my Low Variables are saving as files into a second location as well: system/user/templates/default_site/_variables.

This places them into EE3's Template Variables. Or maybe EE itself is saving all Template Variables as files and this is a byproduct of LV creating Template Variables.

Anyway, I was just wondering if this was normal behavior? I ask because it is confusing to have these as files in two locations and I'm not sure which path is the 'master' path.

Thanks!
Jonathan

Replies

  1. Low 2 May 2017 19:18

    Low Variables extends the native template variables (previously known as User Defined Global Variables). This setup was already there before EE allowed you to save native template vars and snippets as files.

    So yeah, right now, it's normal behaviour. I don't think it's possible to turn off the save-as-files option for just native template vars.

    It's safe to ignore the native _variables folder when using LV.

  2. Jonathan 2 May 2017 22:39

    Thank you! That helps clear up my confusion.