We use cookies to give you the best possible experience on our website.

An error occurred while processing the template.
Method public java.lang.String com.liferay.portlet.asset.model.BaseAssetRenderer.getSummary(java.util.Locale) threw an exception when invoked on com.liferay.portlet.journal.asset.JournalArticleAssetRenderer@2f5d0264 with arguments of types [java.util.Locale,]
1<#-- Copy this code to your "Enhanced List" ADT --> 
2 
3<#assign aui = taglibLiferayHash["/WEB-INF/tld/aui.tld"] /> 
4<#assign liferay_portlet = taglibLiferayHash["/WEB-INF/tld/liferay-portlet.tld"] /> 
5<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> 
6 
7<#if entries?has_content> 
8	<#list entries as curEntry> 
9		<#assign assetRenderer = curEntry.getAssetRenderer() /> 
10 
11		<#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
12 
13		<#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
14 
15		<#if assetLinkBehavior != "showFullContent"> 
16			<#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
17		</#if> 
18 
19		<div class="asset-abstract container-fluid"> 
20 
21	<div class="asset-image span2"> 
22		<img src="${assetRenderer.getThumbnailPath(renderRequest)}" /> 
23	</div> 
24 
25	<div class="asset-content span7"> 
26		<h3 class="asset-title" style="margin:0 0 10px;line-height:25px;border:0"> 
27			<a href="${viewURL}">${entryTitle}</a> 
28		</h3> 
29 
30		<div class="asset-summary"> 
31		${htmlUtil.escape(stringUtil.shorten(assetRenderer.getSummary(locale), 500))} 
32 
33			<br><a href="${viewURL}"><@liferay.language key="read-more" /><span class="hide-accessible"><@liferay.language key="about" />${entryTitle}</span> &raquo;</a> 
34		</div> 
35		<#if (enableRatings == "true")> 
36	<div class="asset-ratings"> 
37		<@liferay_ui["ratings"] 
38			className=curEntry.getClassName() 
39			classPK=curEntry.getClassPK() 
40		/> 
41	</div> 
42</#if> 
43	</div> 
44</div> 
45	</#list> 
46<#else> 
47	${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
48</#if>