0
Answered

Start Date/Time (no older then 60 days)

Craig V 10 years ago in BLOX CMS updated by Christine Masters 10 years ago 1
I want to set a query rule on a editorial block to only show assets that are no older then 60 days using Start date/time. Is this possible?

Answer

Answer
Answered
Hi Craig!

Yes, there are a few ways to do this.

First, you can set the archive time on those blocks for 60 days from the start time. The archive time doesn't really do anything unless you use that rule in a block, so it won't have negative impact elsewhere on your site. So if you add the archive rule to your blocks, the items that are archived will not show.

Second, and probably easier in your situation, you can add a rule of:

> Start date/time > No earlier than > 60 days ago (type that in)

That will make sure that articles with a start date earlier than 60 days ago will not show.

Let me know if this works for you! I tested it on my site and that seems to be the right configuration.
GOOD, I'M SATISFIED
Second option is better! thanks.
Satisfaction mark by Craig V 10 years ago
Answer
Answered
Hi Craig!

Yes, there are a few ways to do this.

First, you can set the archive time on those blocks for 60 days from the start time. The archive time doesn't really do anything unless you use that rule in a block, so it won't have negative impact elsewhere on your site. So if you add the archive rule to your blocks, the items that are archived will not show.

Second, and probably easier in your situation, you can add a rule of:

> Start date/time > No earlier than > 60 days ago (type that in)

That will make sure that articles with a start date earlier than 60 days ago will not show.

Let me know if this works for you! I tested it on my site and that seems to be the right configuration.