You are here: Home / Documentation / How To's / How to make CalendarX not display times

How to make CalendarX not display times

by ledwell published Apr 01, 2009 11:03 AM, last modified Aug 16, 2016 10:50 AM
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.

timesYou 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

  1. Go to the ZMI of your site, so.. http://www.yourURL.com/manage
  2. Choose "portal_skins"
  3. Choose "CalendarX"
  4. Choose "getEventDictMonth"
  5. Choose "Customize"
  6. Find this line
        elif sameday:
          datestring = '%s - %s'%(stime, etime)
  7. Change it to
           elif sameday:
           datestring = ''
    #      datestring = '%s - %s'%(stime, etime)

 

Directions for multi month view

 

  1. Go to the ZMI of your site so.. http://www.yourURL.com/manage
  2. Choose "portal_skins"
  3. Choose "CalendarX"
  4. Choose "getEventDictMMonth"
  5. Choose "Customize"
  6. Find this line
        elif sameday:
          datestring = '%s - %s'%(stime, etime)
  7. 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.

 

Navigation