Publications
Content with Publicaciones .
An error occurred while processing the template.
The following has evaluated to null or missing:
==> thumbnailUrl [in template "48478917202330#20121#314446" at line 31, column 28]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${thumbnailUrl} [in template "48478917202330#20121#314446" at line 31, column 26]
----
1<#assign dlService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")>
2<#assign ddmFieldLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMFieldLocalService")/>
3<#if entries?has_content>
4
5<#assign sublistA = entries[0..*1] />
6<#assign sublistB = entries[1..] />
7
8<section class="publicaciones custom-pub bg-transparent">
9
10 <div class="publicaciones__grid">
11
12 <#list sublistA as curEntry1>
13
14 <#assign journalArticle = curEntry1.getAssetRenderer().getAssetObject()
15 <#-- viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry1.getAssetRenderer(), curEntry1, true) -->
16 assetRenderer = curEntry1.getAssetRenderer()
17 viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, '')
18 entry = curEntry1
19 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
20 />
21 <@assetsMacro assetEntry=curEntry1 />
22 <#if isJson(imageJSONHeader) && imageJSONHeader.fileEntryId??>
23 <#assign
24 thumbnailUrl = "/documents/" + imageJSONHeader.groupId + "/" + imageJSONHeader.uuid
25 alt = imageJSONHeader.alt
26 />
27 </#if>
28
29
30 <div class="publicaciones__main-card">
31 <img src="${thumbnailUrl}" alt="${alt}" class="publicaciones__image">
32 <div class="publicaciones__overlay">
33 <a href="${viewURL}" alt="${title}" class="publicaciones__overlay-link">
34 <h3 class="publicaciones__headline">${title}</h3>
35 </a>
36 <p class="publicaciones__date"><@liferay.language key="titulo.publicacionFecha" /> <strong> ${journalArticle.getDisplayDate()?date?string[languageUtil.get(themeDisplay.getLocale(), 'journal.article.date.format')]} </strong></p>
37 </div>
38 </div>
39 </#list>
40
41 <div class="publicaciones__side-cards">
42
43 <#list sublistB as curEntry2>
44
45 <#assign journalArticle = curEntry2.getAssetRenderer().getAssetObject()
46 <#-- viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry2.getAssetRenderer(), curEntry2, true) -->
47 assetRenderer = curEntry2.getAssetRenderer()
48 viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, '')
49 entry = curEntry2
50 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
51 />
52 <@assetsMacro assetEntry=curEntry2 />
53 <#if isJson(imageJSONHeader) && imageJSONHeader.fileEntryId??>
54 <#assign
55 thumbnailUrl = "/documents/" + imageJSONHeader.groupId + "/" + imageJSONHeader.uuid
56 alt = imageJSONHeader.alt
57 />
58 </#if>
59
60
61 <div class="publicaciones__side-card">
62 <img src="${thumbnailUrl}" alt="${alt}" class="publicaciones__image">
63 <div class="publicaciones__overlay">
64 <a href="${viewURL}" alt="$title{}" class="publicaciones__overlay-link">
65 <h3 class="publicaciones__headline">
66 ${stringUtil.shorten(htmlUtil.stripHtml((title)!), 80,"...")}</h3>
67 </a>
68 <p class="publicaciones__date">${journalArticle.getDisplayDate()?date?string[languageUtil.get(themeDisplay.getLocale(), 'journal.article.date.format')]}</p>
69 </div>
70 </div>
71 </#list>
72 </div>
73 </div>
74</section>
75
76<#macro assetsMacro assetEntry>
77<#setting locale=locale>
78<#assign renderer = assetEntry.getAssetRenderer() />
79<#assign journalArticle = renderer.getAssetObject() />
80<#assign ddmStructure = journalArticle.getDDMStructure() />
81<#assign ddmForm = ddmStructure.getDDMForm()/>
82<#assign ddmFormValues = ddmFieldLocalService.getDDMFormValues(ddmForm, journalArticle.getId()) />
83<#assign ddmFormFieldValues = ddmFormValues.getDDMFormFieldValues() />
84<#list ddmFormFieldValues as fieldName>
85<#if fieldName.getFieldReference() == 'title'>
86<#assign title = fieldName.getValue().getString(locale) />
87</#if>
88<#if fieldName.getFieldReference() == 'image'>
89<#assign imagen = fieldName.getValue().getString(locale) />
90<#assign imageJSONHeader = jsonFactoryUtil.createJSONObject(imagen)/>
91</#if>
92</#list>
93</#macro>
94<#function isJson json>
95<#local value = json?trim />
96<#return value?has_content && value?starts_with("{") && value?ends_with("}") />
97</#function>
98
99</#if>
100
101<style>
102 .taglib-categorization-filter{display: none;}
103</style>
Content with Publicaciones .
IZERTIS participa en el proyecto STELLAR
IZERTIS participa en el proyecto GENSEO
IZERTIS participa en el proyecto PRAVIA
IZERTIS participa en el proyecto Q-CARE
IZERTIS participa en el proyecto TAPIA
IZERTIS participa en el proyecto UTERIAM
IZERTIS participates in the AETHERIA project
IZERTIS participates in the FoodCarbon project
The agri-food industry is one of the main contributors to greenhouse gas emissions worldwide. Therefore, any action implemented in this sector has an exponential potential for the decarbonisation of production processes.
IZERTIS takes part in the CONSUMe project
The European Commission is aiming for a climate-neutral economy by 2050, with a strong focus on decarbonisation and the use of renewable energy. “Energy communities” play a key role in this transition by empowering citizens, small businesses and local authorities to generate and consume their own renewable energy, turning them into “energy prosumers”.