Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Dale Larson
Adding Additional Calendar Event Types?
January 4, 2011 2:57 PM
Answer

Dale Larson

Rank: New Member

Posts: 24

Join Date: June 11, 2010

Recent Posts

Good Afternoon,

How does one add more calendar event types?

Cheers,
Dale III
Jeffrey Paul Handa
RE: Adding Additional Calendar Event Types?
January 4, 2011 6:00 PM
Answer

Jeffrey Paul Handa

LIFERAY STAFF

Rank: Expert

Posts: 440

Join Date: December 1, 2008

Recent Posts

Hi Dale,

Take a look at the portal.properties file and search for the following section:

 1##
 2## Calendar Portlet
 3##
 4
 5    #
 6    # Set the list of event types. The display text of each of the event types
 7    # is set in content/Language.properties.
 8    #
 9    calendar.event.types=anniversary,appointment,bill-payment,birthday,breakfast,call,chat,class,club-event,concert,dinner,event,graduation,happy-hour,holiday,interview,lunch,meeting,movie,net-event,other,party,performance,press-release,reunion,sports-event,training,travel,tv-show,vacation,wedding


If you haven't worked with portal.properties before, there's a wiki article that might help. http://www.liferay.com/community/wiki/-/wiki/Main/Commonly+Used+Portal+Properties
Alan Wamser
RE: Adding Additional Calendar Event Types?
January 25, 2011 2:37 PM
Answer

Alan Wamser

Rank: Junior Member

Posts: 26

Join Date: April 15, 2010

Recent Posts

Jeffrey Handa:
Hi Dale,

Take a look at the portal.properties file and search for the following section:

 1##
 2## Calendar Portlet
 3##
 4
 5    #
 6    # Set the list of event types. The display text of each of the event types
 7    # is set in content/Language.properties.
 8    #
 9    calendar.event.types=anniversary,appointment,bill-payment,birthday,breakfast,call,chat,class,club-event,concert,dinner,event,graduation,happy-hour,holiday,interview,lunch,meeting,movie,net-event,other,party,performance,press-release,reunion,sports-event,training,travel,tv-show,vacation,wedding


If you haven't worked with portal.properties before, there's a wiki article that might help. http://www.liferay.com/community/wiki/-/wiki/Main/Commonly+Used+Portal+Properties


Based on the following URL

http://www.liferay.com/community/forums/-/message_boards/message/5884323


The portal.properties in the portal-impl.jar file, so you can't edit it. If you want to modify the calendar event types you need to create the file portal-ext.properties.
Jeffrey Paul Handa
RE: Adding Additional Calendar Event Types?
January 25, 2011 6:06 PM
Answer

Jeffrey Paul Handa

LIFERAY STAFF

Rank: Expert

Posts: 440

Join Date: December 1, 2008

Recent Posts

Hi Alan,

You are correct, the portal.properties file is only for reference. All changes need to be applied to portal-ext.properties or through a Hook.
GAURAV RASTOGI
RE: Adding Additional Calendar Event Types?
November 1, 2011 8:31 AM
Answer

GAURAV RASTOGI

Rank: New Member

Posts: 5

Join Date: September 16, 2011

Recent Posts

yes and it is a good idea to go for the hook.