Fórumok

RE: Calendar

Senthil Chockalingam, módosítva 14 év-val korábban

RE: Calendar

Junior Member Bejegyzések: 58 Csatlakozás dátuma: 2010.01.18. Legújabb bejegyzések
Hi Friend,

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

Can you help me on this ....
thumbnail
Bavithra Rajendran, módosítva 14 év-val korábban

RE: Calendar

Regular Member Bejegyzések: 123 Csatlakozás dátuma: 2009.10.08. Legújabb bejegyzések
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]/[Tomcat]/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, módosítva 14 év-val korábban

RE: Calendar

Junior Member Bejegyzések: 58 Csatlakozás dátuma: 2010.01.18. Legújabb bejegyzések
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
thumbnail
Hitoshi Ozawa, módosítva 13 év-val korábban

RE: Calendar

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
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.