I found the events listing for the calendar portlet in portal.properties, but I need the ability to set the list of events per community. I'd like to do this using the preferences, but so far it hasn't worked. I thought perhaps since the from email and reply addresses could be customized per community that the events list could as well. For example, in portal.properties you find the following properties for the Calendar portlet:
1calendar.event.types=anniversary,appointment,bill-payment....
2calendar.email.from.name=Joe Bloggs
3calendar.email.from.address=test@liferay.com
When you use the calendar configuration to change the email from name and address fields, it creates an entry in lportal.portletpreferences that looks like this:
1<portlet-preferences>
2 <preference>
3 <name>email-from-address</name>
4 <value>nmcminn@company.com</value>
5 </preference>
6 <preference>
7 <name>email-from-name</name>
8 <value>Nathan McMinn</value>
9 </preference>
10</portlet-preferences>
What I was hoping for was to be able to create a portlet preferences entry like this:
1
2<portlet-preferences>
3 <preference>
4 <name>email-from-address</name>
5 <value>nmcminn@company.com</value>
6 </preference>
7 <preference>
8 <name>email-from-name</name>
9 <value>Nathan McMinn</value>
10 </preference>
11 <preference>
12 <name>event-types</name>
13 <value>Project Team Meeting,Program Go Team Meeting,Presentation</value>
14 </preference>
15</portlet-preferences>
I've entered these preferences manually into the DB, but the event type list is unaffected. If there is a way to store the event type list in the preferences it would be very helpful. Can it be done? Do I just have the preference name incorrect, or is the list alwyays populated from the properties file?
Please sign in to flag this as inappropriate.