This is one tricky add-on! I’ve installed the allow_eecode plugin and I have been able to successfully embed a Freeform template, but I haven’t been able to successfully embed a template that has an exp:channel:entries tag in it. Is it not possible to do this? Or am I missing some very subtle thing that needs to be changed somewhere?
Here’s my template with the allow_eecode in it:
{exp:channel:entries channel="{channel}" disable="pagination" status="open" limit="1" url_title="{segment_3}}
...stuff…
{if activity_content_05 != ""}
<div id="activity-content-05">
{exp:allow_eecode embed="y"}{activity_content_05}{/exp:allow_eecode}
</div>
{/if}
{/exp:channel:entries}And here’s what I have in the channel entry for the “activity_content_05” textarea:
{embed="includes/bug_err"}And here’s the bug_err template code:
<div class="bug">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<caption>
ERRs
</caption>
<tr>
<th scope="col" width="50%">Country Program</th>
<th scope="col" width="50%">ERR File</th>
</tr>
{exp:channel:entries channel="err"}
<tr>
<td width="50%">Country Program</td>
<td width="50%"><a href="http://{err_file}">{title}</a></td>
</tr>
{/exp:channel:entries}
</table>
</div>Everything above the exp:channel:entries tag displays just fine in the rendered page.
Any help would be fantastic!