Hi all,
Just a quick question… say I pull in channel data into a template:
{exp:channel:entries channel="channel-name" entry_id="1"}
{title}
{article}
{/exp:channel:entries}But then, I want to embed say a breadcrumb trails, but the breadcrumb trail code is inside another template…
{exp:channel:entries channel="channel-name" entry_id="1"}
{embed="templatename/crumbtrail"}
{title}
{article}
{/exp:channel:entries}The crumbtrail template contains:
<a href="#">home</a> » {title}As soon as I embed a template which tries to output data from the channel called inside the previous template… it fails to pull in data from the entry_id and will just output the code:
{title}Is there a way I can embed the template, but let that embedded template know which data it should pull in?
Does that make sense? Apologies, finding it hard to explain what I mean exactly.
Thank you
Si