How to make CalendarX not display times
by
Brian Ledwell
—
last modified
Apr 08, 2009 03:09 PM
Shows you how to modify the Calendar X template so that it doesn't show the times of the event in the month and multi-month views.
You will need to modify two CalendarX page templates. You will also need manager permissions and, of course, have CalendarX installed.
Directions for single month view
- Go to the ZMI of your site, so.. http://www.yourURL.com/manage
- Choose "portal_skins"
- Choose "CalendarX"
- Choose "getEventDictMonth"
- Choose "Customize"
- Find this line
elif sameday: datestring = '%s - %s'%(stime, etime) - Change it to
elif sameday: datestring = '' # datestring = '%s - %s'%(stime, etime)
Directions for multi month view
- Go to the ZMI of your site so.. http://www.yourURL.com/manage
- Choose "portal_skins"
- Choose "CalendarX"
- Choose "getEventDictMMonth"
- Choose "Customize"
- Find this line
elif sameday: datestring = '%s - %s'%(stime, etime) - Change it to
elif sameday: datestring = '' # datestring = '%s - %s'%(stime, etime)
Added Thoughts
It would have been handier if they had wrapped the items items in a <div> so we could hide it with css but they didn't. Upgrading: If theirs ever an upgrade to CalendarX you might need to redo this edit.











