For the latest release of Formidable v.1.6.3, You said:
Limit with dynamic dates. There are many times when custom displays need to be limited by dynamic dates instead of hardcoded ones. This is now possible without the addition of custom code. In addition to accepting “NOW” to only show entries with dates that are greater or less than the current date, PHP dates are now also accepted like “-1 month”.
Can you provide an example of how to execute this. In my custom display I tried: [if 227 equals="NOW"]<strong>Date: </strong>[227]</span>[/if 227]
That seems to hide my future dates as well. How do I restrict it to show only entries from this date forward?
Thanks -Lynn




March 10, 2012 at 11:55 am
Ok- I think I was off-course, I found that where I should control this is in Custom Display>Advanced>Where (bottom of custom display page).
I am wanting to suppress entire entries that include 'start' and 'end' date fields. I'd like to use this feature to suppress entire entries with event dates that are in the past. Is this possible with this new feature?
I have added a where statement (Start Date) is (equal to) [get param ="NOW"]
This example doesn't work and I've tried a couple variations. Can you please tell me what am I missing?
March 10, 2012 at 3:50 pm
If you want future dates instead of only for that day, you need to select "greater than" instead of "equal to". In your where option, use "Start date is greater than NOW"
March 11, 2012 at 6:15 pm
Ok, thanks. In the where option, I used "Start date" and "greater than" and [get param ="NOW"]. It does not change my results. I also tried "get=NOW", but that didn't work either.
Any ideas?
March 11, 2012 at 7:10 pm
Nevermind, had forgotten to add it to the create posts page. All working now! Thanks for the cool new feature.
March 12, 2012 at 12:48 pm
This one doesn't actually need to new feature. You don't need to [get param...] stuff here. All you need is "NOW" exactly as instructed above.
April 20, 2012 at 6:49 am
Hi Stephanie,
I have posts that I'm displaying from this same custom display that are not event based, so do not need to use the 'start date' field. The problem? Adding the 'start date', 'greater than' and 'Now' to the where statements has suppressed displaying entries that do no use the date field. Is there anyway to add a if/then statement to this, so that if 'empty' the post still displays?
April 20, 2012 at 8:02 am
Not without custom code. The easiest way would be to create two different custom displays, one with each of the two where rows you mentioned.
Topic closed.