Personal tools

How to add a new event category

by Rob Engler — last modified Oct 21, 2009 10:05 PM
Filed Under:

Want to add your own event types to Plone's categories?

When adding a new event, you  see a list of event categories (Appointment, Convention, Meeting, Social Event, Work). If you  want to add your own event types like Fundraiser, Luncheon, or Rally when using Plone 2 do the following:

To add your own event type:

  • Go to the ZMI for the Plone site (through plone_control_panel),
  • Click on the portal_metadata tool,
  • Click on the Elements tab,
  • Click on the Subject element,
  • You will see  Element Metadata Policy title,   click on the subject link
  • Find the content type event.
  • Add your new event types, one per line, to the Vocabulary list of the policy,
  • Click on the Update button for the policy.

Now, go back to your Plone site and add a new event. You should see your new event categories.

By way of further explanation, event types are metadata. Each content type in Plone has a list of metadata patterned after a subset of the Dublin Core standards. The Dublin Core metadata term called "subject" corresponds to "the topic of the content of the resource." In the case of a calendar event "resource", the event type is the Dublin Core "subject."

 

Source: UC Merced School of Engineering

Now, if you want to add categories or event types in Plone 3, just edit the item, choose the Categories tab and either select an existing category in the left-hand field or type a new category name in the right-hand field and Submit your changes.