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

Support archive

Declaring a variable in a template

Harold Kuiper 11 Mar 2014 08:39 question, complete

Sorry for probably an obvious question: but I want to set a variable in a template and somehow I can't find how to. So I've declared a variable and want to be able to change the value in a template.

Replies

  1. Low 11 Mar 2014 09:00

    I take it you mean with Low Variables? That's not possible. LV are like native Snippets or Global Variables: you set the value in the CP and use them in your templates. You can't change the value on runtime. You might need to look at either Preload Replace vars (native) or Stash (add-on).

  2. Harold Kuiper 11 Mar 2014 09:15

    OK. Thanks