johnnyhowey/liferay-plugins — pull request #84 by epgarcia (2012-04-20 12:49:01+00:00)
Title: SOS-963 Summary Calendar Arrows

Hi Jonathan,

The so-hook adds a navigation for months to the liferay-ui:calendar. The arrows use the updateCalendar JS function to navigate from one month to another. This function is defined at summary.jspf of the original calendar portlet, but the tabs1 param of the portletURL is set to "day". It seems this function is intended only for the month navigation at the Days tab of the calendar portlet.

I added a copy of this function to the page.jsp of the so-hook where the liferay-ui:calendar page.jsp is overwritten, renamed as updateSummaryCalendar and changed the value of tabs1 to "summary". I changed the calls to the function at the arrow links and also added a line to get the eventType from the request. Now the summary calendar is working as expected.

Regards,

Eduardo P.