We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 525
    • 4 Posts
    Is there any way to have some content in a resource to only show within a certain time window? I’m using Evolution.

    For instance. I have a resource which is a TV show. And I want to show the Episode description on the day of the episode only. Then the day of the next episode will show the information for that episode.
    I had planned to have each episode as child-resources, but my client wants to do it this way.

    Any ideas guys?

    Cheers,
    Adrian.

    Sample post below
    -------------------------------------
    TV Show Name
    blah blah blah

    Episode Title [01.01.2011]
    blah blah this is viewable

    Episode Title [03.01.2011]
    blah blah this is not viewable
    -------------------------------------
      • 28042 ā˜† A M B ā˜†
      • 24,524 Posts
      I would still have each episode as a child resource with publish/unpublish dates as appropriate, using Ditto on the parent page to display the episode since Ditto will only display published resources.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org