Fehler bei der Verarbeitung der Vorlage.
For "#elseif" condition: Expected a boolean, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> entry.getSmallImageURL()  [in template "20155#20195#50832" at line 82, column 107]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #elseif entry.getSmallImageURL()  [in template "20155#20195#50832" at line 82, column 98]
----
1<#-- declaracion de la clase de blog, servicios de : categorias y etiquetas  --> 
2<#assign JournalArticleService = serviceLocator.findService("com.liferay.blogs.service.BlogsEntryLocalService")>   
3<#assign entries = JournalArticleService.getBlogsEntries(0, 100)>   
4 
5<#assign blogsEntryClassName = "com.liferay.blogs.model.BlogsEntry" /> 
6<#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")>   
7<#assign AssetVocabularyLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")>   
8 
9 
10<#assign nombreFiltro = "noticia" /> 
11  
12<#list entries as entry> 
13 
14<#assign vocu = "" > 
15 
16<#-- optenemos las categorias  -->     
17 
18<#assign portalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"] /> 
19<#assign classNameId = portalUtil.getClassNameId("com.liferay.blogs.model.BlogsEntry") /> 
20<#-- obtnemos el nombre del vocubalurio --> 
21             <#-- optenemos las categorias  -->     
22                                    <#assign categories = AssetCategoryLocalService.getCategories(classNameId, entry.getEntryId())/> 
23                            
24                                         <#-- obtnemos el nombre del vocubalurio --> 
25                                        <#list categories as cat> 
26                                              
27                                            <#if AssetVocabularyLocalService.getVocabulary(cat.vocabularyId).name == nombreFiltro> 
28                                                <#assign vocu = AssetVocabularyLocalService.getVocabulary(cat.vocabularyId).name /> 
29                                            </#if> 
30                                         
31                                        </#list> 
32<#-- Assuming aBlogsEntry is the BlogsEntry object passed to the template --> 
33 
34 
35 
36 
37<#if permissionChecker.hasPermission(entry.groupId , "com.liferay.blogs.model.BlogsEntry",entry.entryId, "VIEW") > 
38 
39<#if vocu != "" > 
40 
41 
42	<div class="entry"> 
43	 
44	<div class="separator"><!-- --></div> 
45 
46  <!-- Blog item container --> 
47  <div class="itemContainer"> 
48			<!-- Post header --> 
49			<div class="itemHeader"> 
50										<!-- Title --> 
51										<h3 class="itemTitle"> 
52											<a href="/blogs/-/blogs/${entry.getEntryId()}" title="Enthusiastically">${htmlUtil.escape(entry.getTitle())}</a> 
53										</h3> 
54										<!--/ Title --> 
55 
56										<!-- Post details --> 
57										<div class="post_details"  style="padding: 0.5em;"> 
58											<span class="catItemDateCreated"> 
59											<span class="entry-date"> 
60				${dateUtil.getDate(entry.getCreateDate(), "dd MMM yyyy - HH:mm:ss", locale)} 
61			</span></span> 
62			<span class="catItemAuthor"> 
63			  <a href="#" title="Posts by danut" rel="author">	 
64				  <@liferay.language key="written-by" /> ${htmlUtil.escape(portalUtil.getUserName(entry.getUserId(), entry.getUserName()))} 
65			  </a> 
66			</span> 
67			</div> 
68										<!-- Post details --> 
69									</div> 
70									<!--/ Post header --> 
71 
72									<!-- Post content body--> 
73									<div class="itemBody"> 
74										<!-- Item intro text --> 
75										<div class="itemIntroText"> 
76											<!-- Post image --> 
77											<div class="hg_post_image"> 
78												<a href="/blogs/-/blogs/${entry.getEntryId()}" class="pull-left" title="Enthusiastically"> 
79												 <#if entry.getSmallImageURL(themeDisplay)??> 
80													 <img src="${entry.getSmallImageURL(themeDisplay)}" 
81													 class="" width="457" height="320" alt="Enthusiastically" title="Enthusiastically" /> 
82												 <#elseif entry.getSmallImageURL()> 
83													 <img src="${entry.getSmallImageURL()}" 
84													 class="" width="457" height="320" alt="Enthusiastically" title="Enthusiastically" /> 
85												 </#if> 
86												</a> 
87											</div> 
88											<!--/ Post image --> 
89											<#assign summary = entry.getDescription() /> 
90 
91			<#if (validator.isNull(summary))> 
92			<#assign summary = entry.getContent() /> 
93			<#assign summary = 	stringUtil.shorten(htmlUtil.stripHtml(summary), 1500)/> 
94			</#if> 
95<p> 
96			${summary}</p> 
97										</div> 
98										<!-- end Item intro text --> 
99										<div class="clear"></div> 
100										 
101		                <#assign blogsEntryClassName = "com.liferay.portlet.blogs.model.BlogsEntry" />			 
102										 
103 
104										<!-- Item tags --> 
105										<div class="itemBottom clearfix"> 
106											<div class="itemTagsBlock"> 
107												<a href="#" rel="tag" title="">	</a> 
108				 
109				 
110												<div class="clear"> 
111												</div> 
112											</div> 
113											<!-- end tags blocks --> 
114 
115											<!-- Read more button --> 
116											<div class="itemReadMore" style="text-align: right;"> 
117												<a class="btn btn-fullcolor readMore" href="/blogs/-/blogs/${entry.getEntryId()}" title="leer mas" style="background-color: #cd2122;color: white;">Leer más</a> 
118											</div> 
119											<!--/ Read more button --> 
120										</div> 
121										<!--/ Item tags --> 
122										<div class="clear"></div> 
123									</div> 
124									<!--/ Post content body--> 
125 
126									<!-- Post category --> 
127									 
128								</div> 
129								<!--/ Blog item container --> 
130								<div class="clear"></div> 
131		 </#if>		 
132		</#if>		  
133	</#list> 

Listado de todos las actividades

TituloPost destacados