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.

date conditional (show only if X days old)

July 13, 2009 6:01am

Subscribe [2]
  • #1 / Jul 13, 2009 6:01am

    Reese Spykerman

    41 posts

    I’ve poked around a bit at some suggestions for date-based conditionals, but need a bit of help with syntax.

    I’d like a conditional that states if the entry is 30 days older than today’s date, then show a custom field.

    Is a solution like that possible out of the box (without needing php) and if so, any ideas on how to execute?

    Thanks! 😊
    Reese

  • #2 / Jul 13, 2009 6:13am

    Ingmar

    29245 posts

    Since you’ll need to manipulate a date (add 30 days to the entry date and compare it to the current date) you will need PHP. Or, of course, a plugin. Should still be trivial, though.

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

ExpressionEngine News!

#eecms, #events, #releases