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

Support archive

LV outputs ee tag as text only

chunkitdesign 20 Dec 2017 03:14 question, complete

I set up a low variable, "lv_legal" and the value is "@ {current_time format="%Y"} a ministry of Network of Christian Scholars". The template tag is {exp:low_variables:parse var="lv_legal"} and i don't understand why it does not parse the ee tag {current_time format="%Y"}
thanks

Replies

  1. chunkitdesign 20 Dec 2017 03:43

    i tried some global native variables and they work. For example:
    @ {current_time format="%Y"} a ministry of {site_name}
    it outputs: @ {current_time format="%Y"} a ministry of Network of Christian Scholars

    It looks like LV cannot output {current_time format="%Y"}

    ee: 4.03
    Low variable: 3.1.0

    Thanks,

  2. Low 20 Dec 2017 07:35

    That's because the {current_time} var is parsed relatively early in EE's rendering stages.

    If you need those tags to be parsed in time, turn on Early Parsing for that lv_legal variable and use the variable syntax (rather than the tag syntax) to output it, ie. {lv_legal}

  3. chunkitdesign 20 Dec 2017 12:33

    Thank you very much. I think i did not turn on "Early Parsing" thanks for your prompt reply