Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> CheckImagenFieldSet.CheckImagenFieldSetFieldSet.ImagenTexto [in template "10136#10174#3653721" at line 84, column 82] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- 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: ${CheckImagenFieldSet.CheckImagenFiel... [in template "10136#10174#3653721" at line 84, column 80] ----
1<!-- AQUI CARGAMOS LA HOJA DE ESTILOS -->
2
3 <#setting locale="es_ES">
4 <!-- FUNCION JAVASCRIPT QUE MUESTRA Y OCULTA EL REPRODUCTOR DE SONIDO -->
5 <script type="text/javascript">d
6 function mostrar(num) {
7 obj = document.getElementById('reproductor' + num);
8 obj.style.display = (obj.style.display=='none') ? 'block' : 'none';
9 }
10 function abrirVentana(url) {
11 window.open(url, "nuevo", "directories=no, location=no, menubar=no, scrollbars=yes, statusbar=no, tittlebar=no, width=800, height=800");
12 }
13 function verDetalle(nombreAutor){
14 /*v1.0 antes de URL amigables...*/
15 /*
16 var url = location.href;
17 var asset = "";
18 if(url.indexOf("/-/")!= -1){
19 url = location.href.split("/-/")[0];
20 asset = "/-/"+location.href.split("/-/")[1];
21
22 }
23 url = url.split("/");
24 location.href = location.href.replace(asset,"").replace(url[url.length-1],"")+"noticias-autor?nombreAutor="+nombreAutor;
25 */
26 /*V1.1*/
27 var encabezado = "";
28 if (location.href.indexOf("https://")== -1){
29 var url = location.href.replace("http://","");
30 encabezado = "https://";
31 }else{
32 var url = location.href.replace("https://","");
33 encabezado = "https://";
34 }
35 var urlSplt = url.split("/");
36 if((url.indexOf("/es/")== -1) && (url.indexOf("/en/")== -1)){
37 //alert("no tiene");
38 url = urlSplt[0]+"/"+urlSplt[1]+"/"+urlSplt[2]+"/noticias-autor?nombreAutor="+nombreAutor;
39
40 }else{
41 url = urlSplt[0]+"/"+urlSplt[1]+"/"+urlSplt[2]+"/"+urlSplt[3]+"/noticias-autor?nombreAutor="+nombreAutor;
42 }
43 location.href= encabezado+url;
44 return false;
45 }
46 </script>
47
48
49<div id="mainNoticia" class="mainNoticia newsV2">
50
51 <!-- TÍTULOS -->
52 <div class="titulos">
53 <h2><#if (Titulo_noticia.getData())??>
54 ${Titulo_noticia.getData()}
55</#if></h2>
56 <script type="text/javascript">
57 $(document).ready(function () {
58 document.title = "$htmlUtil.escapeJS(<#if (Titulo_noticia.getData())??>
59 ${Titulo_noticia.getData()}
60</#if>)";
61 if ($('.breadcrumbs li.last span').length) {
62 $('.breadcrumbs li.last span').text('$htmlUtil.escapeJS($Titulo_noticia.getData())');
63 }
64 });
65 </script>
66 <p class="subtitulo"><strong><#if (Entradilla.getData())??>
67 ${Entradilla.getData()}
68</#if></strong></p>
69 </div>
70
71
72 <!-- IMAGEN O VIDEO -->
73 <div class="videoOimagen">
74 <div class="videoOimagen-inner">
75<#if CheckImagenFieldSet.getSiblings()?has_content>
76 <#list CheckImagenFieldSet.getSiblings() as cur_CheckImagenFieldSet>
77 <#if getterUtil.getBoolean(cur_CheckImagenFieldSet.CheckImagen.getData())>
78
79 <div class="imagen">
80
81 <#if cur_CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Imagen.getData()?has_content>
82 <img class="foto" src="${cur_CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Imagen.getData()}" alt="Descripcion de la imagen"/>
83 <#else>
84 <img class="foto" src="${CheckImagenFieldSet.CheckImagenFieldSetFieldSet.ImagenTexto.getData()}" alt="Descripcion de la imagen"/>
85 </#if>
86 <#if validator.isNotNull(cur_CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Texto_imagen.data) || validator.isNotNull(cur_CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Autor_imagen.data)>
87 <div class="textoFoto">
88 <span> ${cur_CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Texto_imagen.getData()}</span>
89 <span class="autor">FOTO: ${htmlUtil.unescape(cur_CheckImagenFieldSet.CheckImagenFieldSetFieldSet.Autor_imagen.getData())}</span>
90 </div>
91 </#if>
92 </div>
93</#if>
94 </#list>
95</#if>
96
97 <!-- VIDEOS -->
98 <#list CheckVideo.getSiblings() as video>
99 <#if getterUtil.getBoolean(CheckVideoFieldSet.CheckVideo.getData())>
100 <#if (CheckVideoFieldSet.CheckVideoFieldSetFieldSet.Video_Youtube.getData()?? || CheckVideoFieldSet.CheckVideoFieldSetFieldSet.Video_Biblioteca.getData()??)>
101 <div class="video">
102 <#if CheckVideoFieldSet.CheckVideoFieldSetFieldSet.Video_Biblioteca.getData()?has_content>
103 <video controls style="height:355px;width:100%;">
104 <source src="$video.Video_Biblioteca.data" type="video/mp4"/>
105 <source src="$video.Video_Biblioteca.data" type="video/ogg"/>
106 Your browser does not support the video tag.
107 </video>
108 <#else>
109 <iframe style="height:355px;width:100%;" frameborder="0" allowfullscreen></iframe>
110 <script>
111 $(document).ready(function () {
112
113
114 var url = ' ${CheckVideoFieldSet.CheckVideoFieldSetFieldSet.Video_Youtube.getData()}';
115 var id = url.split(/(?:youtu\.be\/|v\/|embed\/|watch\?v=)/)[1].split("&")[0];
116 $("iframe").attr("src", "https://www.youtube.com/embed/" + id);
117 });
118 </script>
119 </#if>
120
121 <#if validator.isNotNull(video.Titulo_video.getData())>
122 <div class="titulo"><strong>$video.Titulo_video.getData()</strong></div>
123 </#if>
124 </div>
125 </#if>
126 </#if>
127 </#list>
128 </div>
129 </div>
130
131 <!-- BLOQUE PRINCIPAL -->
132 <div class="leftNoticia">
133 <!-- Aquí se inserta el portlet -->
134 <div class="artRecurInteres"></div>
135 <script>
136 $(document).ready(function () {
137 var portlet = $('#p_p_id_ArticuloRecursosInteres_WAR_ArticuloRecursosInteresportlet_');
138 if (portlet.length) {
139 portlet.appendTo('.artRecurInteres');
140 var stars = portlet.find('.taglib-ratings.stars');
141 if (stars.length) {
142 portlet.find('.liferay-rating-score').insertBefore('.liferay-rating-vote');
143 }
144 }
145 });
146 </script>
147 </div>
148
149 <!-- DERECHA NOTICIA -->
150 <div class="rightNoticia">
151 <div class="dateNameNew">
152<#assign rawFecha = .vars['reserved-article-modified-date'].data?string>
153<#assign fechaParsed = rawFecha?date("EEE, dd MMM yyyy HH:mm:ss Z")>
154<span class="fechaNoticia">
155 ${fechaParsed?string("dd/MM/yy HH:mm")}
156</span>
157 <#list Nombre_autor.getSiblings() as autor>
158 <a href="#" onclick="verDetalle('$autor.data')" class="nombreAutor">${autor.getData()}</a>
159 </#list>
160 </div>
161
162
163 <#if (Cuerpo1FieldSet.Cuerpo1.getData())??>
164 ${Cuerpo1FieldSet.Cuerpo1.getData()}
165</#if>
166
167<#if (Cuerpo2FieldSet.Cuerpo2FieldSetFieldSet.ladilloRev1.getData())??>
168 <span class="ladillo"> ${Cuerpo2FieldSet.Cuerpo2FieldSetFieldSet.ladilloRev1.getData()}</span>
169</#if>
170
171<#if (Cuerpo2FieldSet.Cuerpo2.getData())??>
172${Cuerpo2FieldSet.Cuerpo2.getData()}
173</#if>
174
175<#if (Cuerpo3FieldSet.Cuerpo3FieldSetFieldSet.ladilloRev2.getData())??>
176 <span class="laddillo"> ${Cuerpo3FieldSet.Cuerpo3FieldSetFieldSet.ladilloRev2.getData()} </span>
177</#if>
178
179<#if (Cuerpo3FieldSet.Cuerpo3.getData())??>
180 ${Cuerpo3FieldSet.Cuerpo3.getData()}
181</#if>
182
183<#if (Cuerpo4FieldSet.Cuerpo4FieldSetFieldSet.ladilloRev3.getData())??>
184 <span class="ladillo"> ${Cuerpo4FieldSet.Cuerpo4FieldSetFieldSet.ladilloRev3.getData()} </span>
185</#if>
186
187<#if (Cuerpo4FieldSet.Cuerpo4.getData())??>
188 ${Cuerpo4FieldSet.Cuerpo4.getData()}
189</#if>
190
191
192<#if (Cuerpo5FieldSet.Cuerpo5FieldSetFieldSet.ladilloRev4.getData())??>
193 <span class="ladillo"> ${Cuerpo5FieldSet.Cuerpo5FieldSetFieldSet.ladilloRev4.getData()}</>
194</#if>
195
196<#if (Cuerpo5FieldSet.Cuerpo5.getData())??>
197 ${Cuerpo5FieldSet.Cuerpo5.getData()}
198</#if>
199 </div>
200 <#if (AudioFieldSet.Audio.getData())?has_content>
201 <div class="bloque-archivos">
202 <h3>Otros contenidos de la noticia</h3>
203
204
205 <div class="bloque-musica">
206
207
208
209
210
211
212
213 <div class="audio">
214 <div class="logo">
215 <img src="/o/unav-principal-theme/custom/legacy/images/audio.gif" height="15px" width="15px">
216 </div>
217 <div class="bloqueDatos">
218 <span class="nombreArchivo">Audio</span>
219 <div>
220 <a href="javascript:void(0);" class="enlace corporativeColor" onclick="mostrar(1); return false">${AudioFieldSet.AudioFieldSetFieldSet.Titulo_audio.getData()}</a>
221 </div>
222 </div>
223 <!-- BLOQUE DEL REPRODUCTOR DE MUSICA QUE SOLO QUEREMOS QUE SE MUESTRE CUANDO PULSEMOS EL ICONO -->
224 <div id="reproductor1" name="reproductor1" class="reproductor" style="display:none">
225 <p>
226 </p><div id="/documents/10174/1899377/130925noticiasdelcampus_inside.mp3">
227 <audio style="width: 200px;" controls="">
228 <source src="/documents/10174/1899377/130925noticiasdelcampus_inside.mp3" type="audio/ogg">
229 <source src="/documents/10174/1899377/130925noticiasdelcampus_inside.mp3" type="audio/mpeg">
230 </audio>
231 </div>
232 <p></p>
233 </div>
234 </div>
235 </div>
236
237
238 </div>
239 </#if>
240
241</div>