I am working on a site where the calendar will be very important, the calendar works fine but I have some questions...
How can I create a toplist of the five events that are closest to todays date? I have tried this but cannot get it to work, it always shows events that have already gone by.
Is there a variable to show todays date and time?
How can I create a direct like to todays calendar date. A link that updates to todays date automatically.
How would I rewrite the URLs of calendar dates so that they have this (or a similar) format... calendar-{DAYID}-{MONTHID}-{YEARID}
Comments on Calendar questions
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
I am working on a site where the calendar will be very important, the calendar works fine but I have some questions...
How can I create a toplist of the five events that are closest to todays date? I have tried this but cannot get it to work, it always shows events that have already gone by.
Is there a variable to show todays date and time?
How can I create a direct like to todays calendar date. A link that updates to todays date automatically.
How would I rewrite the URLs of calendar dates so that they have this (or a similar) format... calendar-{DAYID}-{MONTHID}-{YEARID}
Thanks
Jon
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The events starting soonest? Use the toplist condition and order by starting time ascending.
Today's date and time requires a PHP call: (Formatting comes from http://www.php.net/strftime )
To link to today's daily calendar event list page, this is a little messy looking but you can use
Calendar URL rewriting would require custom PHP work, estimate 2-4 hours ($100-$200).