News - Centrovidaas
News
An error occurred while processing the template.
Failed to "?eval" string with this error:
---begin-message---
Syntax error in ?eval-ed string in line 1, column 1403:
Lexical error: encountered "u" (117), after "\"The activity was attended by professionals from the Directorate General itself and members of the VidAAs team, who were able to gain first-hand experience of some of the physical, sensory and functional changes associated with the ageing process. This activity is part of the European NEAR project, an international initiative led by the Government of Navarra and funded by the Interreg Europe programme. The project aims to redesign and consolidate the person-centred social care model through public innovation and the exchange of experiences among different European regions. One of the key moments of the session was the practical exercise, carried out both individually and in groups using the simulator. This tool reproduces certain limitations related to mobility, vision, hearing and physical dexterity, allowing participants to experience situations similar to those that many older people may face in their daily lives. Following the practical phase, an analysis, reflection and group discussion session was held, during which participants shared experiences, lessons learned and perceptions about the importance of designing environments, services and public policies that respond to the needs of an increasingly long-lived society. VidAAs has assessed this first session very positively, as it reinforces the centre\\".
---end-message---
The failing expression:
==> Imagen?eval [in template "48155#48801#40743060" at line 17, column 44]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign imageJson = Imagen?eval [in template "48155#48801#40743060" at line 17, column 25]
----
1<#if entries?has_content>
2 <div class="container">
3 <div class="row">
4
5 <#list entries as curEntry>
6
7 <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale.toString())) />
8 <#assign Titulo = docXml.valueOf("//dynamic-element[@name='Titulo']/dynamic-content/text()") />
9 <#assign Descripcion = docXml.valueOf("//dynamic-element[@name='Descripcion']/dynamic-content/text()") />
10 <#assign Url = docXml.valueOf("//dynamic-element[@name='Url']/dynamic-content/text()") />
11 <#assign TextoEnlace = docXml.valueOf("//dynamic-element[@name='TextoEnlace']/dynamic-content/text()") />
12 <#assign Target = docXml.valueOf("//dynamic-element[@name='target']/dynamic-content/text()") />
13
14 <#assign img = "" />
15 <#assign Imagen = docXml.valueOf("//dynamic-element[@name='Imagen302']/dynamic-content") />
16 <#if Imagen?has_content>
17 <#assign imageJson=Imagen?eval>
18 <#assign img = "<img src=\"/documents/${imageJson.groupId}/${imageJson.fileEntryId}/${imageJson.name}/${imageJson.uuid}\" alt=\"${imageJson.alt}\" class=\"w-100\" />" />
19 </#if>
20
21 <div class="col-md-4 col-xs-12">
22 <div class="card overflow-hidden shadow-sm" style="border-radius: 0.1875rem; margin-bottom: 30px;">
23 ${img}
24 <div class="card-body py-4">
25 <#if Titulo?has_content>
26 <h2>
27 ${Titulo}
28 </h2>
29 </#if>
30 <#if Descripcion?has_content>
31 <div class="mb-4">
32 <div>
33 ${Descripcion}
34 </div>
35 </div>
36 </#if>
37 <#if Url?has_content && TextoEnlace?has_content>
38 <#assign target = "" />
39 <#if Target?has_content && Target != "_self">
40 <#assign target = "target=\"_blank\" rel=\"noopener noreferrer\"" />
41 </#if>
42 <a href="${Url}" class="link" ${target}>
43 ${TextoEnlace}
44 </a>
45 </#if>
46 </div>
47 </div>
48 </div>
49 </#list>
50
51 </div>
52 </div>
53</#if>
54
55<style>
56 .mbTruncate4 {
57 display: -webkit-box;
58 -webkit-line-clamp: 4;
59 -webkit-box-orient: vertical;
60 overflow: hidden;
61 }
62
63 .mbTruncate8 {
64 display: -webkit-box;
65 -webkit-line-clamp: 8;
66 -webkit-box-orient: vertical;
67 overflow: hidden;
68 }
69
70 .w-100 {
71 height: 250px;
72 }
73
74 .card-body {
75 height: 515px;
76 }
77</style>
78
79<script>
80 $(document).ready(function() {
81 var listadoMB = $(".card-body.py-4");
82 listadoMB.each(function(idx, li) {
83 var product = $(li);
84 if ((product[0].children[0].clientHeight > 130) && (product[0].children[0].clientHeight < 221)) {
85 $(product[0].children[1].children[0]).attr("class", "mbTruncate8");
86 }
87 if (product[0].children[0].clientHeight > 220) {
88 $(product[0].children[1].children[0]).attr("class", "mbTruncate4");
89 }
90 });
91 });
92</script>
—
12 Items per Page