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.

weblog will not display entries

February 06, 2009 11:53pm

Subscribe [1]
  • #1 / Feb 06, 2009 11:53pm

    Andy Morris

    30 posts

    I created two additional weblogs copying the settings of the first. The first will display as intended. I have painstakingly checked global and individual weblog settings and have found no variations. I thought I might have had an error in my entries tag or my template so I created a test template and it would only display my very first weblog I created. (in the case below it only displays ‘opinions2’ as it is the first I created.

    I’m using build 1.6.6.

    I created my test page with the following code to display one entry from each of the weblogs here. All three have the same settings including custom weblog fields, and default status. ‘opinions2’ (the original) is the only one that displays a post.

    {exp:weblog:entries weblog="opinions1" dynamic="off" limit="1"}
    {title}
    
    {body}>br >
    -end-
    <hr>
    
    {/exp:weblog:entries}
    
    {exp:weblog:entries weblog="opinions2" dynamic="off" limit="1"}
    {title}
    
    {body}
    
    -end-
    <hr>
    
    {/exp:weblog:entries}
    
    {exp:weblog:entries weblog="opinions3" dynamic="off" limit="1"}
    {title}
    
    {body}
    
    -end-
    <hr>
    
    {/exp:weblog:entries}

    you can see my test page with this code here.

    I would like to have this display a single entry from each of the three weblogs.

    Can I get some guidance on other previous posts to read or a checklist of things to check? Could this be a problem with my installation? I have 2 other custom entry field sets with weblogs they are assigned to with no problems.

  • #2 / Feb 07, 2009 3:54pm

    Greg Aker

    6022 posts

    Greetings Andy:

    Are you sure that all of the weblogs contain entries?  That should display?

    -greg

  • #3 / Feb 07, 2009 4:42pm

    Andy Morris

    30 posts

    Yes. They all contain entries that include information in the title and body fields. Most of them include at least two entries that are not expired. They are all set to “open” status…etc.

  • #4 / Feb 07, 2009 4:44pm

    Greg Aker

    6022 posts

    the entries are in the past, not the future, right?

  • #5 / Feb 07, 2009 4:51pm

    Andy Morris

    30 posts

    Fixed it. Found two typo errors in my code and 1 of the two posts (the most recent…and I was limiting to one so it was the one that was dated in the future). Don’t know how the date ended up being in March, but it is fixed.

    Thanks for your help Greg. I need a proof reader. You can “close” the topic!

  • #6 / Feb 07, 2009 5:08pm

    Greg Aker

    6022 posts

    I’m glad you got it sorted out, please don’t hesitate to start a new thread if anything else comes up!  😊

    -greg

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

ExpressionEngine News!

#eecms, #events, #releases