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

  • What syntax are you using: variable or tag? – Low Mar 8 '13 at 22:33
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"}

| improve this answer | |
  • 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 '13 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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