Hello. EE newcomer from MT here. I’m recoding my site from scratch and am running into difficulty with an “individual” archive template (that’s MT lingo—doesn’t seem to be an EE equivalent).
I have a template created called archives for a blog named etherblog. The archives template is used for individual archives (permalinks). I’d like to have a list of recent entry in the sidebar on this template, but for some reason the code I use only returns one entry.
This is the code I use:
<h3>Recent Posts</h3>
<ul class="linklist">
{exp:weblog:entries weblog="etherblog" orderby="date" sort="desc" limit="5"}
<a href="{path=etherblog/archives}"><li>{title}</li></a>
{/exp:weblog:entries}
</ul>
This is the same code (minus a summary field) I use to display recent entries on the index page, and it works fine there. Why is it not working on the individual template page?
I did some poking around in the forums and found a post which suggests using the related_entries tag to accomplish the same thing, with the added benefit of excluding the current entry from the list. I do not have entries assigned to categories (yet, and perhaps won’t), so perhaps that doesn’t work either. Related to this, is there a way to specify all categories?
