I've always held off on adding in email reminders because it would require setting up cronjobs to run automatically on the server, and that would become a fairly large support headache due to the complexity.
It can be done, but a script would have to be created to query the database for whatever range of upcoming event dates you want, then send reminders to everyone subscribed to them. That script would then have to be run from a scheduled cronjob. And, of course, you'd have to provide an interface for people to subscribe to events' reminders.
I will need a cron job to run once a week - like Sunday midnight and send email to everyone.
But this won't be an open calendar for people to "sign-up" - it's for an office staff of about 20.
So I think it will be more do-able as things can be more hard wired than you would make for a general calendar feature.
I'll keep you posted - and probably bug you with questions - but at the end maybe you can post if for folks later.
Thanks
Donna
oh - one more ?
Can we set up our own "home page" and just "include" the calendar into the center of the page ? (ie index.php doesn't have to be the home page does it ?)
That'll definitely make it much easier. I'd approach it as an array of names to send emails to. When the script runs weekly, loop through the array and send the applicable notice to each.
You could also break it up into arrays of names by category.
It would be easiest to include other stuff into MyCalendar's index.php (that's the idea behind the header/footer file paths in config.php), but you could go the other way around with a bit of fiddling. The main thing to be aware of is how session headers are handled, as they are in index.php and must be sent to the browser prior to any other page data. You'd need to move that content over to the parent page and then make sure it doesn't get omitted if the calendar is accessed directly elsewhere.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum