Participa

Últimas Noticies

An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy59.getFileEntry(long)" threw an exception when invoked on com.sun.proxy.$Proxy59 object "com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl@35607325"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign fileEntry2 = DLFileEntryLocal...  [in template "20101#20128#38940" at line 17, column 33]
----
1<#include "${templatesPath}/ASSETSMACRO"/> 
2 
3<#if entries?has_content> 
4 
5<div class="home-news-container"> 
6    <div class="home-news owl-carousel owl-theme"> 
7       
8    	<#list entries as entry> 
9    	 
10    	    <@assetsMacro assetEntry=entry /> 
11    	     
12    	    <#assign className = renderer.getClassName()> 
13            <#if className == "com.liferay.journal.model.JournalArticle"> 
14                <#assign imagen2 = docXml.valueOf("//dynamic-element[@name='featuredImage']/dynamic-content/text()") /> 
15			    <#assign imageJSON2 = jsonFactoryUtil.createJSONObject(imagen2)> 
16			    <#if imageJSON2.fileEntryId??> 
17			        <#assign fileEntry2 = DLFileEntryLocalServiceUtil.getFileEntry(imageJSON2.fileEntryId?number)> 
18			    </#if> 
19            		<div class="item"> 
20			            <div class="image-container"> 
21			                <#if imageJSON2.fileEntryId??> 
22		            	        <@custom_adaptative maxResolution=maxResolutionSmallImage  
23		                        repositoryId=fileEntry2.getRepositoryId() folderId=fileEntry2.getFolderId()  
24		                        fileEntryId=fileEntry2.getFileEntryId() title=fileEntry2.getTitle() uuid=fileEntry2.getUuid() alt=title thumbnail=3/> 
25		                    <#else> 
26		                        <img src="/documents/20124/36071/Palacio+Ferrera.jpg/8b513545-f3ec-c383-aeb4-4a6a2125e677?version=2.0&t=1600352554537" loading="lazy"> 
27	            	        </#if>             
28			            </div> 
29			            <div class="info"> 
30			            	<#if categories?has_content> 
31			            		<#assign catId = categories[0].getCategoryId()> 
32			            		<#if catPropertyLocalService.getCategoryProperty(catId?number, 'color')?has_content> 
33			            			<#assign catProps = catPropertyLocalService.getCategoryProperty(catId?number, 'color')> 
34									<#assign catTitle = categories[0].getTitle(themeDisplay.getLanguageId())> 
35									<span class="category ${catProps.getValue()}">${catTitle}</span> 
36								</#if> 
37							</#if> 
38			                <div class="title"> 
39			                    <a href="${viewURL}">${title}</a> 
40			                </div> 
41							<#if dateStr?? && dateStr?has_content> 
42			                <#assign localeOLD = locale> 
43			                <#setting locale="es_ES"> 
44			                    <div class="date">${dateStr?trim?date.iso?string("dd MMMM yyyy")}</div> 
45			                <#setting locale=localeOLD> 
46							</#if> 
47			            </div>         
48			        </div> 
49                 
50            </#if> 
51    	</#list> 
52	</div> 
53	<div class="button-holder text-center"> 
54        <a href="/noticias" class="btn btn-secondary"><@liferay.language key="sede-all-news" /></a> 
55    </div> 
56</div> 
57</#if> 
58 
59<script> 
60    $('.home-news').owlCarousel({ 
61        loop:false, 
62        margin:0, 
63        nav:true, 
64        navText:['<i class="fas fa-chevron-left"></i>','<i class="fas fa-chevron-right"></i>'], 
65        dots:false, 
66        mouseDrag:false, 
67        pullDrag: false, 
68        responsive:{ 
69            0:{ 
70                items:1 
71            }, 
72            768:{ 
73                items:2 
74            }, 
75            992:{ 
76                items:4 
77
78
79    }) 
80</script> 

Próximos Eventos

Taller broches 8M.
Exposición «Una vaca en el pasillo».
Exposición «La Sonrisa estética. Artistas avilesinos en las colecciones del Museo de Bellas Artes»
Exposición del artista Carlos Feijóo Alonso.
Últimas Novedaes

Estos son los últimos cambios que han ocurrido en el portal. ¡Ya puedes acceder a toda la información!