Folks,
Wouldn't you know it, I have another question.
First off, a special thanks to Jeff for pointing me to the right .tmpl file. I have managed to customise the list view to work for what I need for the Upcoming Events sidebar item.
My new question is about date/time formatting.
Presently, with the code below, the date is rendered as follows:
[startdate] - [enddate] [starttime] - [endtime]
CODE:
###STARTDATE### ###ENDDATE### ###STARTTIME### ###ENDTIME###
...and [enddate], with its proceeding "-" does not display if it is the same value as [startdate].
This is what I would like to see:
[startdate (format: %b %d)] [starttime] - [enddate (format: %b %d)] [endtime]
(ex. Feb 06 12:00 pm - Feb 07 12:01 pm)
...and have the [enddate] not display if it is the same as [startdate], and the "-" show regardless.
Can this be done within the phpicalendar_event.tmpl file, or do I need to go somewhere else?
Also, something curious that I noticed, which leads to another question:
The Upcoming Events sidebar item that I have defined requires that the FE Cache be cleared to update (it is not removing past events or showing added events if the FE Cache is not cleared). This can be seen on the page
http://chum.brooks-craig.com/news-and-events/ where the "Test Event" still shows, even though it should have been removed from the list 16 minutes ago, by my watch. Any suggestions?
Thanks,
- Adam