...
This portlet depends on the Fluid Skinning System (fss). Alas, Liferay 5.2 SP3 doesn't make the Fluid Skinning System CSS available, and the Resource Server version in the trunk of the portlet doesn't either, so this portlet needs to be modified to explicitly include these files.
In order for it to be able to reference these CSS files, the fss files must be included in the portlet-local resources directory.
Step 1:
...
- Navigate to and open the css.jsp file. This file is located in the Calendar portlet.
- Source Location: CalendarPortlet/trunk/src/main/webapp/WEB-INF/jsp/css.jsp
- Add the code snippet depicted in figure 1 to your css.jsp file.
...
Update dependency on Resource Server to get a later version
In pom.xml, update this:
Code Block | ||||
---|---|---|---|---|
| ||||
<properties> <!-- INSTRUCTIONSDependency |versions The--> below code snippet should be placed just below the include.jsp directive | and above the tag that links to the calendar.css file. --> <c:set var="RESOURCE"><rs:resourceURL value="/rs"/></c:set> <link rel="stylesheet" href="${RESOURCE}/fluid/1.1.2/fss/css/fss-layout.css" type="text/css"></link> <link rel="stylesheet" href="${RESOURCE}/fluid/1.1.2/fss/css/fss-text.css" type="text/css"></link> |
...
Step 2: Place fluid css resources in rs directory.
- Download the Fluid Skinning System (FSS) css files. For the latest version of FSS please see the Fluid Project and download Fluid Infusion.
- Once downloaded, extract the calendar_portlet_fss.zip file.
- The calendar_portlet_fss.zip file extracts to the fss directory.
...
<cas.version>3.1.8</cas.version>
<hsqldb.version>1.8.0.7</hsqldb.version>
<resource-server.version>1.0.5</resource-server.version>
|
to declare the latest version as of this writing, 1.0.9, of resource-server, rather than the 1.0.5 there currently.
Code Block | ||||
---|---|---|---|---|
| ||||
<properties>
<!-- Dependency versions -->
<cas.version>3.1.8</cas.version>
<hsqldb.version>1.8.0.7</hsqldb.version>
<resource-server.version>1.0.9</resource-server.version>
|
Step 2: Use the Fluid Skinning System that will now be available
- Navigate to and open the css.jsp file. This file is located in the Calendar portlet.
- Source Location: CalendarPortlet/trunk/src/main/webapp/WEB-INF/jsp/css.jsp
Before:
Code Block | ||||
---|---|---|---|---|
| ||||
<jsp:directive.include file="/WEB-INF/jsp/include.jsp"/>
<link rel="stylesheet" href="<c:url value="/css/calendar.css"/>" type="text/css"></link>
|
After:
Code Block | ||||
---|---|---|---|---|
| ||||
<jsp:directive.include file="/WEB-INF/jsp/include.jsp"/>
<!-- added for Liferay 5.2 SP3 compatibility -->
<c:set var="RESOURCE"><rs:resourceURL value="/rs"/></c:set>
<link rel="stylesheet" href="${RESOURCE}/fluid/1.1.2/fss/css/fss-layout.css" type="text/css"></link>
<link rel="stylesheet" href="${RESOURCE}/fluid/1.1.2/fss/css/fss-text.css" type="text/css"></link>
<link rel="stylesheet" href="<c:url value="/css/calendar.css"/>" type="text/css"></link>
|
Map roles
Enable Calendar Administration
...