Display records by date

6 posts by 5 authors in: Forums > CMS Builder
Last Post: September 7, 2009   (RSS)

By aliciald - June 30, 2009

Hello!

I am making an events listing and I have added a date field and would like to be able to "expire" the record (so to speak) after the event date. So, I want to show the record on my list page until it reaches the date, if that makes sense. For example:

Record 1
Title: Craft Fair
Date: June 30, 2009

After June 30th, I don't want to display this record. Any guidance is GREATLY appreciated!

Best,

Alicia
: )

Re: [aliciald] Display records by date

By Toledoh - June 30, 2009

Have a look at removeDate fieldname here http://www.interactivetools.com/docs/cmsbuilder/special_fieldnames.html

I just did the same thing, had a "start date" field and a "removeDate" field (being the "end date").

This way, if I had an event that went for 3 days, the event would stay displayed until the conclusion of the event.

Cheers,
Cheers,

Tim (toledoh.com.au)

Re: [ross] Display records by date

By Codee - September 4, 2009

Ross,
what is the "next expires" checkbox? Don't see it in the documentation.

Also, does the removeDate field force the record to be deleted or just into a hidden mode? It would be good to have a way to just remove it from view on a certain date but keep the record in the database if needed.

Thanks,

Re: [equinox69] Display records by date

By Chris - September 5, 2009

Hi equinox69,

I believe Ross was referring to the neverRemove field.

The removeDate field doesn't delete records, it just prevents them from showing up on your website.

Hope this helps! Please let us know if you have any more questions. :)
All the best,
Chris

Re: [chris] Display records by date

By Codee - September 7, 2009

Thanks for the clarification, Chris.