Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Senthil Chockalingam
RE: Calendar
February 18, 2010 3:31 AM
Answer

Senthil Chockalingam

Rank: Junior Member

Posts: 58

Join Date: January 18, 2010

Recent Posts

Hi Friend,

I want only the Year Tab and Event Tab in Calendar Portlet.

Can you help me on this ....
Bavithra Rajendran
RE: Calendar
February 18, 2010 4:19 AM
Answer

Bavithra Rajendran

LIFERAY STAFF

Rank: Regular Member

Posts: 123

Join Date: October 7, 2009

Recent Posts

Hi !

If you want to display only the Year and Event Tab, you have to do changes in the init.jsp and view.jsp which is under [Liferay-portal]//webapps/ROOT/html/portlet/calendar.

Find out the code
String tabs1Names = "summary,day,week,month,year,events";

in the init.jsp and remove the tags name except year and events.

Remove the following lines in the view.jsp

<c:when test='<%= tabs1.equals("summary") %>'>
<%@ include file="/html/portlet/calendar/summary.jspf" %>
</c:when>
<c:when test='<%= tabs1.equals("day") %>'>
<%@ include file="/html/portlet/calendar/day.jspf" %>
</c:when>
<c:when test='<%= tabs1.equals("week") %>'>
<%@ include file="/html/portlet/calendar/week.jspf" %>
</c:when>
<c:when test='<%= tabs1.equals("month") %>'>
<%@ include file="/html/portlet/calendar/month.jspf" %>
</c:when>

It will work.
Senthil Chockalingam
RE: Calendar
February 19, 2010 11:56 PM
Answer

Senthil Chockalingam

Rank: Junior Member

Posts: 58

Join Date: January 18, 2010

Recent Posts

Hi Friend,

Thanks it's working fine !!!. But i need calendar control like this << Month [Todays Date] >>. Do you know any Js script for Calendar+Event function.

Thanks in Advance emoticonemoticonemoticon
Hitoshi Ozawa
RE: Calendar
March 20, 2011 4:39 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Hi Bavithra,

There seems to be two thread intermixed. As a Liferay Staff, can you separate the Caching of javascript and CSS files thread from the Calendar thread? It's really difficult to follow up on the replies.