The code below works perfectly when accessed via the template directly, but if I access it from a channel entry’s PAGES URI then the {embed="Work/WorkClientList"} doesn’t load. The other embedded templates DO load, though. Any thoughts?
{exp:channel:entries channel="work" limit="1"}
{embed="StaticElements/Header" css="Work" javascript="Work" slider="false" page_title="work" title_tag="{work_title_tag}" meta_description="{work_meta_description}"}
<div class="page_content">
<h1>{title}</h1>
<ul id="medium">
<li class="selected">Everything</li>
<li>Print</li>
<li>Interactive</li>
<li>Identity</li>
<li>Fundraising</li>
<li>Video</li>
<li>Other</li>
</ul>
<span>Client</span> or <span>Industry</span>
<ul id="clients">
<li class="selected">All</li>
{embed="Work/WorkClientList"}
</ul>
</div>
{embed="StaticElements/Footer"}
{/exp:channel:entries}Contents of Work/WorkClientList (though I had changed the contents to just plain text for debugging but that didn’t help):
{exp:channel:entries channel="clients" search:client_show_in_list="=yes"}
<li>{client_name}</li>
{/exp:channel:entries}