Expiring Documents

4 posts by 3 authors in: Forums > CMS Builder
Last Post: June 22, 2010   (RSS)

By dunlap - June 21, 2010

I saw an example in the manual that allows you to set a time for the entry to stay posted. Then it expires & is not available. Where can I set this? I did not see it in date feature to set expiration.



Thanks

Re: [Jason] Expiring Documents

By Perchpole - June 22, 2010

Hi, Jason -

Just a thought...

Is there any way we can modify/configure the removeDate option in such a way as to make "today" a global setting for every entry in the table?

In other words, if an entry is older than today it just doesn't show up.

Do-able?

Perch

Re: [Perchpole] Expiring Documents

By Jason - June 22, 2010

Hi,

You could set a default option for the date, but the default would be set to the current date, which you wouldn't want.

Another thing you could do is to not use the removeDate field at all, and just use code to not return any record that was created before today.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/