ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

exp:weblog:entries scope problem [solved]

June 25, 2007 1:31pm

Subscribe [1]
  • #1 / Jun 25, 2007 1:31pm

    peter snow

    6 posts

    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}
  • #2 / Jun 25, 2007 1:39pm

    peter snow

    6 posts

    Wait wait wait.
    Got it

    Dynamic=“off”

    Simple as that. Sorry for wasting your time. Hurrah. I love EE.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases