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.

changing entry date

July 05, 2011 11:17am

Subscribe [3]
  • #1 / Jul 05, 2011 11:17am

    PipSpratt

    23 posts

    Hi,
    I have a question about entry date - I want to be able to change entries date so I could later filter those entries like this:

    {exp:channel:entries channel="calendar_days" dynamic="off" year="2011" month="07" day="22" }
        ......
    {/events}

    I’ve already changed an entry date to 2011-07-22 (the entry was created in May) but it’s not showing on the website. When I get rid of year=“2011” month=“07” day=“22” I get all the entries which have entry dates older than today, the ones I’ve changed aren’t showing at all. What do I do wrong?

  • #2 / Jul 05, 2011 11:45am

    Paul Stone

    97 posts

    Does it work if you put

    show_future_entries="yes"

    into the exp:channel:entries tag?

    i.e.:

    {exp:channel:entries channel=“calendar_days” dynamic=“off”  year=“2011” month=“07” day=“22” show_future_entries="yes"}

    You can read more about it here: http://ellislab.com/expressionengine/user-guide/modules/channel/parameters.html#par_show_future_entries

    Hope that helps,
    Paul.

  • #3 / Jul 05, 2011 12:40pm

    PipSpratt

    23 posts

    thank you, that solved my problem

  • #4 / Jul 05, 2011 1:24pm

    Paul Stone

    97 posts

    Glad it worked.

    Cheers,
    Paul.

  • #5 / Jul 06, 2011 3:46am

    John Henry Donovan

    12339 posts

    Thanks Paul. Feel free PipSpratt, to start a new thread if you have any more questions

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

ExpressionEngine News!

#eecms, #events, #releases