Parsing {title} not working...
I would like the customer to be able to control a call-to-action via a Text Input variable. For example, "Get in touch us about {title} today...".
Unfortunately this doesn't seem to be parsing properly. It is within a channel entries loop but the code (below) renders {title} instead of the title itself.
<a href="#" class="cta">{exp:low_variables:parse var="var_services_cta"}</a>
If we type {title} outside of the LV, it does render/parse properly.
Does anybody have any idea how we can achieve this?
Replies
Low 16 Aug 2012 15:01
Try and use the variable syntax instead of the tag syntax, and make sure early parsing is enabled (so {var_services_cta} instead of {exp:low_variables:parse etc).
boldfire 17 Aug 2012 13:29
Unfortunately that didn't resolve it.
Low 19 Aug 2012 09:06
I take it you're putting the variable inside a channel:entries tag... What's the complete code you're using for this bit, so including LV content and template code? You can use http://pastie.org for larger chunks of code.