• 1

    ¿La Cumbre del Clima será capaz de imponer medidas que frenen la emisión de gases contaminantes a la atmósfera?

    Sí.
    No.
    Ns / Nc.
    Votar Ver Resultados
Se ha producido un error al procesar la plantilla.
Invocation of method 'getAdContainer' in  class com.liferay.portal.kernel.velocity.IterVelocityTools threw exception java.lang.NullPointerException at 21446/F/TEMPLATE-INFINITY[line 37, column 37]
1#set($sort = "createdate")
 
2#set($criteria= "desc")
 
3#set($art_next = $articleToolbox.getSiblingArticle($sort, $criteria, "next"))
 
4#set($sectionID = "#printAssignedSectionID")
 
5#set($templateId = $iterVelocityTools.getVelocityVariable("template_id")) 
 
6
 
7#set($hmLugares = {})
 
8#getAcAssignedCatExtended($hmLugares "Location")
 
9
 
10#set($hmGentes = {})
 
11#getAcAssignedCatExtended($hmGentes "People")
 
12
 
13#set($hmOrganizaciones = {})
 
14#getAcAssignedCatExtended($hmOrganizaciones "Organizaciones")
 
15
 
16#set($hmTemas = {})
 
17#getAcAssignedCatExtended($hmTemas "Topic")
 
18
 
19<script>
 
20	var group_id = $request.theme-display.scope-group-id;
 
21	var id_art_infinity = $reserved-article-id.data;
 
22	
 
23#if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
 
24	var teaser_first = true;
 
25	var n_noticia = 1;
 
26#else
 
27	var teaser_first = false;
 
28	var n_noticia = n_noticia + 1;
 
29#end
 
30	console.log("+++ teaseritemposition:  $iterVelocityTools.getVelocityVariable("teaseritemposition")");
 
31	console.log("+++ n_noticia: " + n_noticia);
 
32</script>
 
33<div id="art_$reserved-article-id.data" class="template-infinity detail" id-next="$!art_next.reserved-article-id.data" id-section="$sectionID" canonicalurl="$articleToolbox.getArticleViewer('canonical')")>
 
34	
 
35	<div class="middle-100-col col-sm-12 portlet-column">
 
36
 
37		$!iterVelocityTools.getAdContainer("R01 INF Cintillo superior. 980x60 980x90 980x80 900x60 728x60 320x100 320x50")
 
38		
 
39		<div class="canonical hidden"></div>
 
40
 
41		##----Template Detalle Cabecera----
 
42		#set($dateMask = "dd/MM/yyyy")
 
43
 
44		#set ($hasImages = $articleToolbox.getNumImageTags("TeaserImage", "true"))
 
45		#set ($hasImageInfografia = $articleToolbox.getNumImageTags("TeaserImage", "true"))
 
46
 
47		#set($icon-video = "")
 
48		#set($icon-img = "")
 
49		#set($icon-audio = "")
 
50		#set($icon-infografia = "")
 
51
 
52		#if(($Youtube && $Youtube.data != "") || ($Vimeo && $Vimeo.data != "") || ($Multimedia && $Multimedia.Document.data != ""))
 
53			#set($icon-video = "icon-video") 
 
54		#end
 
55
 
56		#if($hasImages > 1)
 
57			#set($icon-img = "icon-photos") 
 
58		#end
 
59
 
60		#if($Infografia)
 
61			#set($icon-infografia = "icon-infografia")
 
62		#end
 
63
 
64		#if($Audio && $Audio.data != "")
 
65			#set($icon-audio = "icon-audios") 
 
66		#end
 
67
 
68		#if(($hasImages <= 0) && ($icon-video == "" ) && ($icon-audio == "") && ($icon-infografia == ""))
 
69			#set($templateClass = "no-media")
 
70		#else
 
71			#set($numIconos = "true")
 
72		#end
 
73
 
74		#set($hmAutores = {})
 
75		#getAcAssignedCatExtended($hmAutores "Author")
 
76
 
77		#set($hmAutoresAnteriores = {})
 
78		#getAcAssignedCatExtended($hmAutoresAnteriores "old-authors")
 
79
 
80		#set($hmAutor = "")
 
81		#set($twitterAccount = "")
 
82
 
83		#if($hmAutores.size() > 0)
 
84			#set($hmAutor = $hmAutores.get(0))
 
85			#set($catId = $hmAutor.id)
 
86			#set($aboutAuthor = $aboutCategoryArticles.getArticle($catId))
 
87			#set($columnName = $aboutAuthor.ColumnName.data)
 
88			#set($twitterAccount = $aboutAuthor.Twitter_Social.data)
 
89		#elseif($hmAutoresAnteriores.size() > 0)
 
90			#set($hmAutor = $hmAutoresAnteriores.get(0))
 
91			#set($catId = $hmAutor.id)
 
92			#set($aboutAuthor = $aboutCategoryArticles.getArticle($catId))
 
93			#set($columnName = $aboutAuthor.ColumnName.data)
 
94			#set($twitterAccount = $aboutAuthor.Twitter_Social.data)
 
95		#end
 
96
 
97		#set($articleId = $reserved-article-id.data)
 
98
 
99		<div class="detalle-cabecera $!templateClass">
 
100
 
101			##TOPHEADLINE
 
102			#if($Topheadline && $Topheadline.data != "")
 
103				<div class="Topheadline">
 
104					<h3 class="antetitulo font-1 medium">$!Topheadline.data</h2>
 
105				</div>
 
106				<div class="separator-antetitulo"></div>
 
107			#end
 
108				
 
109			<div class="template-73 top-block">
 
110				##HEADLINE
 
111				<h2 class="headline artit font-1 big bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')">#getFullContentTitle</h2>
 
112			</div>
 
113			<div class="cl"></div>
 
114			<div class="template-78 detail">
 
115				<div class="left-block">
 
116					#if($articleId.contains("CS"))
 
117						##MULTIMEDIA
 
118						#getGalleryDetalle("TeaserImage","Detalle_Migracion", "768","", true, true)	
 
119					#else
 
120						#if($fullaccess=="true")
 
121							##MULTIMEDIA
 
122							#getGalleryDetalle("TeaserImage","crop_768x432", "768" , "432", true, true)
 
123							##getMultimediaMixed("full","crop_768x432", "768" , "432", "100%")
 
124						#else
 
125							##NOACCESS IMAGE
 
126							<div class="multimediaIconMacroWrapper">
 
127								#getMultimediaIconFullContent("crop_480x320","small","bottom","left","","", "", "80%", "false")
 
128							</div>
 
129							<script>
 
130								jQuery(document).ready(function(){
 
131									template78Subscribe();
 
132								});
 
133							</script>
 
134						#end	
 
135					#end
 
136				</div>
 
137			</div>
 
138				
 
139			<div class="right-block">
 
140				<div class="top">
 
141					#if($numIconos == "true")
 
142						##PINTADO ICONOS
 
143						<div class="iconos-derecha">
 
144							#if($icon-video != "")
 
145								<div class="$icon-video"></div>
 
146							#end
 
147							#if($icon-img != "")
 
148								<div class="$icon-img"></div>
 
149							#end
 
150							#if($icon-audio != "")
 
151								<div class="$icon-audio"></div>
 
152							#end
 
153						</div>
 
154					#end
 
155					
 
156					##DATEFROM CON METADATO LOCALIZACION
 
157					<div class="datefrom small">
 
158						#printDateFrom($dateMask)
 
159					</div>
 
160				
 
161					##SUBHEADLINE/TOPHEADLINE
 
162					##set ($tempSubheadline = "#getTeaserSubheadline()")
 
163					#if($Lead && $Lead.data != "")
 
164						<div class="block-background">
 
165							<h3 class="subheadline font-1 small">$!Lead.data</h3>
 
166						</div>
 
167					#end
 
168				</div>
 
169				<div class="bottom">
 
170					## PINTADO METADATO AUTOR CON RED SOCIAL
 
171					#if($hmAutor && $hmAutor != "")
 
172						## MACRO PARA PINTAR UN METADATO DE AUTOR O VARIOS
 
173						#getMetadataAutores()
 
174						<div class="byline-twitter">
 
175							<a href="//www.twitter.com/$!twitterAccount" target="_blank">$!twitterAccount</a>
 
176						</div>
 
177						#if($Byline && $Byline.data != "")
 
178							<div class="data" itemprop="author">
 
179								$!Byline.data
 
180							</div>
 
181						#end
 
182					#else
 
183						#if($Byline && $Byline.data != "")
 
184							<div class="byline firma" itemprop="author">
 
185								$!Byline.data 
 
186							</div>
 
187						#end		
 
188					#end
 
189				</div>
 
190			</div>
 
191			<div class="cl"></div>
 
192			
 
193			<div class="bottom-block">
 
194				#set($shareUrl = "#siteUrl()#printAcCanonicalUrl()")
 
195				## sustituye % en el titular
 
196				#set($shareHeadline = $!Headline.data.replace("%", "%25") )
 
197				<div class="template-75">
 
198					##SHARE
 
199					<ul class="social-options">
 
200						<li>
 
201							<a href="https://www.facebook.com/sharer/sharer.php?u=$!shareUrl" target="_blank" title="Facebook">
 
202								<i class="icon-facebook"></i>
 
203								<b>Facebook</b>
 
204							</a>
 
205						</li>
 
206						<li>
 
207							<a href="https://twitter.com/intent/tweet?text=$!shareHeadline&url=$!shareUrl" target="_blank" title="Twitter">
 
208								<i class="icon-twitter"></i>
 
209								<b>Twitter</b>
 
210							</a>
 
211						</li>
 
212						<li>
 
213							<a href="https://plus.google.com/share?url=$!shareUrl" target="_blank" title="Google Plus">
 
214								<i class="icon-google"></i>
 
215								<b>Google Plus</b>
 
216							</a>
 
217						</li>
 
218						
 
219						#if($articleToolbox.acceptComments())
 
220						<li>
 
221							<!-- teaseritemposition:  $!iterVelocityTools.getVelocityVariable("teaseritemposition") -->
 
222							#if($iterVelocityTools.getVelocityVariable("teaseritemposition") == -1)
 
223								<div class="ver_comment" onclick="ver_commet('JA$reserved-article-id.data','$!shareUrl','$!Headline.data');"> 
 
224									<i class="glyphicon glyphicon-comment"></i>Ver<a href="#disqus_thread" data-disqus-identifier="$reserved-article-id.data"></a>comentarios
 
225								</div>
 
226							#else
 
227								<div class="ver_comment" onclick="ver_commet('JA$reserved-article-id.data','$!shareUrl','$!Headline.data');">
 
228									<i class="glyphicon glyphicon-comment"></i>Ver#renderDisqusComments()comentarios	
 
229								</div>
 
230							#end
 
231						</li>
 
232						#elseif($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
 
233							<div style="display:none;">#renderDisqusComments()</div>
 
234						#end
 
235
 
236					</ul>
 
237
 
238					##OTHER OPTIONS
 
239					<ul class="other-options">
 
240						<li>
 
241							<a href="javascript:print()" target="_blank" title="Print">
 
242								<i class="icon-print"></i>
 
243							</a>
 
244						</li>
 
245						<li>
 
246							##ADDTHIS SHARE
 
247							<a class="addthis_inline_share_toolbox">
 
248							</a>
 
249							<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-58b7e3e9afa7b19a">
 
250							</script>
 
251						</li>
 
252					</ul>
 
253				</div>
 
254			</div>
 
255			
 
256			<!-- V04 MOVILES-->
 
257			<div id="megabanner_dos-movil-id" style="text-align: center;" class="contPublicidad"></div>
 
258			
 
259		</div>
 
260	</div>
 
261	
 
262	<div class="middle-left-col col-sm-8 col-md-8 portlet-column">
 
263			
 
264			<!-- $hmTemas  -->
 
265
 
266			#if(($hmTemas.size() > 0) || ($hmOrganizaciones.size() > 0) || ($hmGentes.size() > 0) || ($hmLugares.size() > 0))
 
267				<div class="tags">
 
268					<span class="etiquetas">ETIQUETAS: </span>
 
269					#getMetadatasArticle()
 
270				</div>
 
271			#end
 
272			<div class="template-33 detail w50 m50">
 
273				<div class="left-block">	
 
274					##TEXT
 
275					<div class="text small resizable" itemprop="articleBody">
 
276						#getTextFlow("crop_900x506","1000","562", "50%")
 
277					</div>	
 
278				</div>
 
279				<div class="cl"></div>
 
280			</div>
 
281			
 
282			<!-- V07 INREAD -->
 
283			$!iterVelocityTools.getAdContainer("V07 INF InRead bajo tercer párrafo de noticia")
 
284
 
285			##----modulo_outbrain----
 
286			#set($urlPaginaActual = "#siteUrl()#printAcCanonicalUrl()")
 
287			<div class="OUTBRAIN" data-src="$!shareUrl" data-widget-id="AR_" data-ob-template="ES_Canarias7"></div>
 
288			<script>$('div[data-widget-id="AR_"]').attr('data-widget-id', 'AR_' + n_noticia);</script>
 
289			<script type="text/javascript" async="async" src="https://widgets.outbrain.com/outbrain.js"></script>
 
290			<script>
 
291				if (n_noticia > 1) {
 
292					OBR.extern.researchWidget();
 
293				}
 
294			</script>
 
295			
 
296			<!-- V03 MOVILES -->
 
297			<div id="robapaginas-movil-id" style="text-align: center;" class="contPublicidad mT10 mB10"></div>
 
298			
 
299	</div>
 
300
 
301
 
302	<!-- COL DER -->
 
303	<div class="middle-right-col col-sm-4 col-md-4 portlet-column">
 
304	
 
305			<!-- V03 -->
 
306			<div>
 
307				$!iterVelocityTools.getAdContainer("V03 INF Columna derecha bajo noticia triple. 300x600 300x250 300x300")
 
308			</div>
 
309			
 
310			<!-- RELACIONADAS	-->
 
311			<div class="noticia-relacionada">
 
312				#set ($articlesrelacionados = $articleToolbox.getRelatedArticles( "link", 5 ) )
 
313				#if($articlesrelacionados.size() > 0)
 
314					<div class="teaser-viewer-title"> <span>NOTICIAS RELACIONADAS</span> </div>
 
315					#foreach ($relacionada in $articlesrelacionados  )
 
316						#set($hasImages = $relacionada.getNumImageTags("Image", "true"))
 
317						#if($hasImages <= 0)
 
318							#set($templateClass = "no-media")
 
319						#end
 
320						<div class="detalle-relacionadas $!tipoContenido $!templateClass">
 
321
 
322							#if($hasImages > 0)
 
323								<div class="left-block">
 
324									$relacionada.getImageTag("Image","0","crop_100x75","","","", "true", "", "")
 
325								</div>
 
326							#end
 
327							<div class="right-block">
 
328								<a href="$relacionada.reserved-article-url.data">
 
329									<h2 class="headline font-1 small bold">$!relacionada.getTag(null,"Headline").data</h2>
 
330								</a>
 
331							</div>
 
332							
 
333						</div>
 
334					#end
 
335				#end				
 
336			</div>
 
337			
 
338			
 
339			<!-- R07 MOVILES -->
 
340			<div>
 
341				##$!iterVelocityTools.getAdContainer("R07 Moviles, bajjo septima noticia 300x600 300x250 300x300")
 
342			</div>
 
343
 
344
 
345			<!-- ENCUESTA -->
 
346			<div class="encuesta_render_infinity en_$reserved-article-id.data mB20 mT20" style="display:table;">
 
347			</div>
 
348			<script>
 
349				$(".encuesta_render_infinity.en_$reserved-article-id.data").append($($(".encuesta_infinity")[0]).html());
 
350			</script>
 
351			
 
352			
 
353			<!-- LINICOM -->
 
354			<div style="width: 0;height: 0;" class="linicom-hl-container"></div>
 
355		
 
356			
 
357			<!-- R19 MOVILES	-->
 
358			<div>
 
359				##$!iterVelocityTools.getAdContainer("R19 Entrees Moviles 300x250 300x300")
 
360			</div>
 
361			
 
362			
 
363			<!-- RANKING -->
 
364			<div class="advanced-105 ranking_render_infinity ra_$reserved-article-id.data" style="display:table;">
 
365			</div>
 
366			<script>
 
367				$(".ranking_render_infinity.ra_$reserved-article-id.data").append($($(".rank_infinity")[0]).html());
 
368			</script>
 
369			
 
370			
 
371			<!-- R07	-->
 
372			<div>
 
373				$!iterVelocityTools.getAdContainer("R07 INF Columna derecha bajo noticia 2. 300x600 300x300 300x250")
 
374			</div>
 
375			
 
376			<!-- OUTBRAIN LATERAL -->
 
377			<div id="outbrain_$reserved-article-id.data"></div>
 
378			<script>
 
379			if (screen.width >= 720) {
 
380				var divTarget = document.getElementById('outbrain_$reserved-article-id.data');
 
381
 
382				divTarget.setAttribute("class","OUTBRAIN");
 
383				divTarget.setAttribute("data-widget-id","outbrain_$reserved-article-id.data");
 
384				divTarget.setAttribute("data-ob-template","ES_Canarias7");
 
385			}
 
386			</script>
 
387			
 
388			
 
389			<!-- R19 -->
 
390			<div>
 
391				$!iterVelocityTools.getAdContainer("R19 INF Entrees 300x250 300x300")
 
392			</div>
 
393			
 
394			<!-- R20 -->
 
395			<div>
 
396				##$!iterVelocityTools.getAdContainer("R20 300x250")
 
397			</div>
 
398			
 
399			
 
400			<!-- R20 MOVILES -->
 
401			<div>
 
402				##$!iterVelocityTools.getAdContainer("R20 Moviles 300x250")
 
403			</div>
 
404	
 
405			
 
406	</div>	
 
407	<!-- FIN COL DER-->
 
408
 
409	
 
410	<div class="middle-100-col col-sm-12 portlet-column">
 
411		<!-- V04 GIGABANNER-->
 
412		$!iterVelocityTools.getAdContainer("V04 INF Gigabanner sobre Deportes 980x90")
 
413		
 
414		<!-- X01 LINICOM-->
 
415		$!iterVelocityTools.getAdContainer("X01 INF Linicom")
 
416
 
417		<!-- R15 SEETAG -->
 
418		##$!iterVelocityTools.getAdContainer("R15 Pixel SeedTag 1x1")
 
419	</div>
 
420#if($iterVelocityTools.getVelocityVariable("teaseritemposition") == -1)
 
421	<script>
 
422		if (typeof ITRDISQUSWIDGETS != 'undefined')
 
423		{
 
424			ITRDISQUSWIDGETS.req( group_id );
 
425			console.log("ITRDISQUSWIDGETS");
 
426		}
 
427		history.pushState({urlPath:'http://www.canarias7.es/'},document.title, document.URL);
 
428	</script>
 
429#end
 
430
 
431	<div class="content-infinity"></div>
 
432
 
433##*********************************************************			
 
434</div>