Hi all. I’ve just started my first major project with EE and, so far, I’m loving it. It’s taken a long time to find a CMS that doesn’t get in the way.
Anyway, I’ve been having a spot of trouble. I wonder if the exp:weblog:entries module is subject to scope.
The following code works fine when pasted into my index template (it returns the 5 latest entries in the projectcontent weblog and related content), but returns no entries when pasted into another template (projectpage) and accessed at {path="sugru/projectpage"}{url_title}
I hope this makes sense. I think half of the battle here will be trying to articulate the problem in ee-guru-friendly way.
{exp:weblog:entries weblog="projectcontent" limit="5" orderby="date" sort="desc"}
{related_entries id="contributor"}<a href="http://{path=">{/related_entries}_ <span class="sidebarprojecttitle">{title}</span></a><br>
<span class="sidebarcontributornameanddate">
{related_entries id="contributor"}{contributordisplayname},{/related_entries} {entry_date format="%F %d %Y"}
</span>
{/exp:weblog:entries}