Onlinehjälpen

Blog menu portlet

The custom Velocity template in the Blog menu portlet uses the JCR (Java Content Repository, JSR 283) programming model. The SiteVision API is available here
Elements available in the Velocity Context
NameType and Description
portletjavax.jcr.Node
 This portlet. See properties below
sitevisionUtilssenselogic.sitevision.api.Utils
 The main entry point to all utility classes
jcrSessionjavax.jcr.Session
 The JCR Session
requestjavax.portlet.PortletRequest
 The portlet request
Additional properties available for the portlet element ($portlet)
NameType and Description 
monthFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
yearFontjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has property selectorText (java.lang.String) - the css class name of the font . 
useMonthIconjavax.jcr.PropertyType.BOOLEAN 
 Show an icon next to the month links. 
monthIconjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has the property URL (java.lang.String) - the url to the icon. 
useYearIconjavax.jcr.PropertyType.BOOLEAN 
 Show an icon next to the year text. 
yearIconjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node that has the property URL (java.lang.String) - the url to the icon. 
yearsjavax.jcr.PropertyType.WEAKREFERENCE 
 A Node where all years are available as sub nodes (see documentation of year properties below). 
Additional properties available for each year, months are available as sub nodes
NameType and Description 
namejavax.jcr.PropertyType.STRING 
 The name of the year. 
Additional properties available for each month
NameType and Description 
countjavax.jcr.PropertyType.LONG 
 The number of blog entries in the month. 
namejavax.jcr.PropertyType.STRING 
 The name of the month. 
titlejavax.jcr.PropertyType.STRING 
 The title attribute in the month link 
URLjavax.jcr.PropertyType.STRING 
 An URL that instructs a blog portlet to show blog entries for this month. 

Sidan uppdaterad:

Nästa generations publiceringsverktyg är här!

se-sto-pio-sv5-2.sitevision-cloud.net
18.117.196.184