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.

show_expired & show_future_entries still show every entries

March 12, 2013 5:42pm

Subscribe [2]
  • #1 / Mar 12, 2013 5:42pm

    Hi,

    I want a simple regular use of show_expiredand show_future_entries paramters of channels.
    But doesn t work…

    For instance an events list who show only forthcoming ones would be:

    {exp:channel:entries channel="events"  show_expired="no" show_future_entries="yes"}
       {entry_date format="%Y %M"}
       {title}
    {/exp:channel:entries}

    But it shows every events, even the passed ones.
    I tried only one paramaters or revert both, nothing works…

    Is there any trick to know ?
    Merci beaucoup, Sylvain.

  • #2 / Mar 19, 2013 11:03am

    Learjet

    17 posts

    Try this, I have it working to show only future entries:

    {exp:channel:entries channel="events" sort="asc" start_on="{current_time format='%Y-%m-%d %H:%i'}" show_future_entries="yes"}
       {title}
    {/exp:channel:entries}

    Hope it works for you!

    Respectfully,
    Earl

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

ExpressionEngine News!

#eecms, #events, #releases