Is it possible to have a rule start and end on specific days?
Rules can do anything you'd like. Think of them as cfinclude's on drugs which have a standard way of setting configurable properties and a very usable way of adminstrating. Include whatever logic you want into the both the edit and execute method.
I have a magazine on my site that is updated monthly. I was thinking I could have a rule that showed the current month's cover along with the links to the news stories scheduled for that month.
When I define my rule, I guess I would have a start day, and then in the execute method, find the date (via Now(), and query it for which links to display?
Well you can either make the start/end date configurable (a property of that rule instance) or just use the current day. Either way would work -- just depends on what you want to accomplish.
-- tim lucas
http://www.toolmantim.com
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
