Trying to get my head around the embeded templates
On my detail page showing the one product I am trying to get the artist’s name who is being displayed added to the embed variable
{embed="site/related_products" artist="{exp:weblog:entries orderby="date" sort="asc" limit="1" weblog="Products" dynamic="on" disable="member_data|trackbacks"}
{related_entries id="product_artist"}{title}{/related_entries}{/exp:weblog:entries}
"}so if on this page the artist represented is John Smith I want the embed to be
{embed="site/header" artist="John Doe"}and then in my embed template I have
<div id="productdetailthumbs">
{exp:weblog:entries orderby="date" sort="desc" limit="99" weblog="artists" dynamic="off" category="5" disable="member_data|trackbacks"}
<!--START PRODUCT-->
{if title == {embed:artist} }
{reverse_related_entries sort="desc" orderby="date" weblog="Products"}
<a href="{title_permalink={my_template_group}/fine_art_detail}" title="{title}">{product_image}
{/reverse_related_entries}
{/if}
</h2>
<!--END PRODUCT-->
{/exp:weblog:entries}
</div>USing the code above I am getting nothing