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.

Some entries not being shown using channel entries tag, no reason why i can see!

March 01, 2011 8:58am

Subscribe [2]
  • #1 / Mar 01, 2011 8:58am

    johnwbaxter

    651 posts

    Hi,

    I’ve got a template which uses the normal channel tag thusly:

    {exp:channel:entries channel="press" orderby="date" sort="desc" limit="400"}
    {/exp:channel:entries}

    For some reason, some entries are not being shown, i can’t see why. The entries are open, the member group that made them has some entries showing but some that aren’t so it’s not a permission thing. There are entries that have very similar content but there is no pattern for which is being shown and which is not.

    Are there any gotchas i’m not thinking of here?

    Any help would be fabulous.

    Thanks!!

    It’s v2.1.3 BTW

  • #2 / Mar 01, 2011 5:10pm

    Ingmar

    29245 posts

    Are the entries in the future? Or in the past, expired?

  • #3 / Mar 01, 2011 5:37pm

    johnwbaxter

    651 posts

    Expired? What would make a post expired?

    Thanks for coming back to me on this!

  • #4 / Mar 01, 2011 5:51pm

    johnwbaxter

    651 posts

    Oh wait sorry, ignore that, i thought you meant there was some auto expiration other than setting an expiry date in the admin area.

    The problem seems to be the client changing the entry date when they create a new entry for some reason only known to themselves and setting some of them to be in the future. I hadn’t anticipated that….

    I’ve added show_future_entries=“yes” to the channel entries tag now.

    Thanks a huge massive lot for pointing me in the right direction!

  • #5 / Mar 02, 2011 12:13pm

    Sue Crocker

    26054 posts

    Glad Ingmar was able to help. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases