Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

adding field that expires?

Quote Reply
adding field that expires?
Can someone help me out with how to achieve this...

I'd like to add a new field associated with every link - I'll call it FRED. When the link is added, FRED is automatically set to 0, or not active (I can do up to here ok).

Now I'd like the admin to be able to go into the admin area and bring up the link information. The admin can then change FRED to be active with a setting of 1, or 2, or 3, where 1 = one month after the date the admin sets it, 2 = two months after the date the admin sets it, 3 = three months after etc etc etc.

Then, if FRED is set to 1 (being one month after it was set), and that date is now here - it automatically expires and sets itself back to 0, or not active - which also stops the information in the html page from being displayed.

It would also need to keep the date the admin set even if the user modified their link information.

Hope thats clear - any ideas anyone?

Thanx. Regan.

Subject Author Views Date
Thread adding field that expires? ryel01 2059 Oct 9, 2000, 12:51 AM
Post Re: adding field that expires?
Stealth 1991 Oct 9, 2000, 8:28 AM