2

I've got a low variable which is correctly parsing channel entries tags, but for some reason will not parse {current_time format="%Y"} no matter what settings I use (early parsing on/off). All it outputs is the raw code for that tag.

please advise

1
  • What syntax are you using: variable or tag?
    – Low
    Mar 8, 2013 at 22:33

1 Answer 1

3

It's to do with the good old parse order. To get around it use the short version of the tag together with early parsing and it should work so simply {my_var} instead of e.g. {exp:low_variables:single var="my_var"}

1
  • Thanks - I generally prefer to use the exp:low_variables tag as I can pass stuff through wiht preparse when needed. Fortunately there's no need in this case.
    – CreateSean
    Mar 11, 2013 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.