I’m using the {exp:allow_eecode} inside my Template to have the possibility to use Pages Module and insert EE tags.
It works fine when I use the entry_id in my EE tag.
For Ex:
<ul class="filesList">
{exp:weblog:entries weblog="literature" entry_id="95" orderby="{title}" sort="desc"}
<li class="{literature-type}"><a href="http://{literature-file}" title="Download {title} in {literature-type} format">{title}</a><span class="fileInfo">({literature-size})</span><span class="fileInfo date">{entry_date format="%F %d, %Y"}</span></li>
{/exp:weblog:entries}
</ul>But if I try to use the category to show a list of items inside a category, it wont work.
Ex:
<ul id="fpaList" class="list filesList">
{exp:weblog:entries weblog="publications" category="4" orderby="{title}" sort="desc"}
<li class="{file-format}"><a href="http://{file}">{title}</a><span class="fileInfo">({file-size})</span></li>
{/exp:weblog:entries}
</ul>The category and Entries work fine when called directly from a Template… but using {exp:allow_eecode} from a static page module wont work… is there a reason to this? Am I doing something wrong?
You can vie the page example using category here:
http://64.13.249.226/about-us/publications/
And another page example using entry_id here:
http://64.13.249.226/products/residential-construction/
It would save me a great deal of time to only embed the category id instead of each entry… and the client could also add entries to each category without me having to put them by hand each time…
Thanks for the help or suggestions!