Hello,
I've created an ItemType "News Item" with a date field.
I also created an ItemPublisher to display all instances of "News Item"
Now the need has arisen to filter out instances of "News Item" with a Date value that is later than the Today Date value
I've been looking at the Filtering group of the ItemPublisher module. But could not find any way to select something like "Today", "Yesterday" or "Tomorrow" when trying to add a filter for my Date field.
Example of a filter rule I want to create:
Field |
: |
Date |
Condition |
: |
Is before |
Value |
: |
Tomorrow |
Field: Date
Condition: Is before
Value: Tomorrow
An alternative would be creating 2 rules
Rule 1:
Field |
: |
Date |
Condition |
: |
Is before |
Value |
: |
Today |
Rule 2:
Field |
: |
Date |
Condition |
: |
Is |
Value |
: |
Today |
PS: I know there is an "Activation date" available in News Item --> (page) Properties --> Options --> (publication) Activation Date
But our users are not comfortable using this option and requested to use the Date field of the "News Item" ItemType.
Thank you for your time and effort!
Regards,
Dennis van de Giessen