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

Support archive

Created Low Variables are also copied to EE's system variables folder.

iameric 13 Jun 2019 10:18 question, complete

Hello.

I have been using LV on an EE 3.x site for some time and I have noticed that creating Low Variables also creates the same named file at EE's own variable folder.

According to the LV documentation:


In most cases, the simple global variable syntax, eg. {my_var} will do


Will it do? Or is this copied var file from EE's own variables folder used instead?

I have since moved to using the {exp:low_variables:parse var="my_var"} just in case....
If nothing else, it does cause mild confusion.

Thanks.

Replies

  1. Low 13 Jun 2019 10:39

    Low Variables extends native global variables. So when you create a variable in LV, you're creating a native global variable with added stuff. And yes, it will appear in the native file system. This is why, in v3.2.0, I removed all LV-syncing mechanisms, which are now done natively by EE.

    As for which syntax to use; that's up to you. Perhaps this blog post will clarify things: https://gotolow.com/blog/parse-order-...

  2. iameric 13 Jun 2019 10:49

    Awesome. Thanks for clearing that up.

    It's easy (for me) to look past the simple wording sometimes.... referring to extends... always trying to make something more complicated than the reality ;-)

    Thanks!