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

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.

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.

 

Document Actions
  • Print this
  • Bookmarks
Help

For Plone technical support during normal work hours:

To request a new web site: