I can’t get my embedded channel entries tag to work. I’m using Taxonomy and pages. Here is my code:
{embed="structure/header"}
{embed="content/callout" page_id="{segment_1}"}
{exp:channel:entries channel={segment_1}}
{if count==1}
{exp:taxonomy:breadcrumbs tree_id="2" entry_id="{entry_id}" display_root="yes"}
<div class="clear"></div>
{/if}
<div id="primary-content">
<h1>{title}</h1>
{body}
</div>
{/exp:channel:entries}
{embed="structure/footer"}And the content/callout template is:
CALLOUTS TEMPLATE
{segment_1}
<div id="callouts-wrapper">
{exp:channel:entries channel="callouts"}
<div id='callout'>
<h2>{callout_title}</h2>
{callout_body}
</div>
{/exp:channel:entries}
</div>I see the “CALLOUTS TEMPLATE” message and the {segment_1} tag, but I don’t get any of my callout entries. Is this a limitation of the pages taxonomy duo, or am I missing some error in my code?
Any help would be appreciated.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.