Want to parse an embedded title
Hi,
I want to parse a title as an embedded title with Low Variables.
My current situation is:
{embed="_includes/_htmlhead" title="Sitemap {low_settings_title}"}
Changed it to:
{low_system_htmlhead title="Sitemap}
In the Low Variables template it refers to:
{embed:title} {structure:page:title} {low_settings_title}
But it'll break the template.
Early parsing is on for this Low Variable template.
Replies
Low 30 Aug 2012 10:22
Hi Rob,
Not entirely sure what you're trying to do, but it looks like you're replacing an embed with a LV.
First of all, this will never work:
You're missing a quote there and, more importantly, variable syntax can never have parameters. You'll need to use the tag syntax:
If you want to pass on variables on the fly there, use the preparse parameter:
...which will make the variable {my_title} display as "foo" (without quotes) in the variable data.
If you're using the tag syntax, having early parsing enabled or disabled is not important.
RobPost 30 Aug 2012 10:50
Awesome, thanx