Herramientas
|
15 dic 2017 - 12:00 h
|
Se ha producido un error al procesar la plantilla.
Invocation of method 'addMetaTag' in  class com.liferay.portal.kernel.velocity.IterVelocityTools threw exception XYZ_E_INVALID_VELOCITY_META_TAGS_MAP_ZYX:Invalid parameters K: 'content' V: 'null'

[file IterVelocityTools.java, method addMetaTag, line 790] at VM_global_iter.vm[line 2727, column 34]
1<!--FULL-CONTENT-DL-DETALLE-TEXTO-->
 
2#set ($fh = "#printDateFrom('dd MMM yyyy - HH:mm',false,'HH:mm')")
 
3##set ($fh = $fh.toString().toUpperCase())
 
4
 
5#set($twiterVinculo = $!iterVelocityTools.getVariable("0" , "Twitter_Vinculo"))
 
6#set($twitterTpu = $!iterVelocityTools.getVariable("0" , "Twitter"))
 
7
 
8#set($textoWeb = "")
 
9#if ($texto_web && $texto_web.data != "")
 
10	#set($textoWeb = $!texto_web.data)
 
11#end
 
12
 
13
 
14<div class="detail-normal-text">
 
15	
 
16        #if($Lead && $Lead.data != "")
 
17		<div class="detail-led" mlnid="$!Lead.Milenium.data" qualification="$!setting_qualification">
 
18			$Lead.data
 
19		</div>
 
20	#end	
 
21        <div class="detail-article-data">
 
22		<div class="info">
 
23			#if($Byline && $Byline.data != "")
 
24				<div class="byline" mlnid="$!Byline.Milenium.data" qualification="$!setting_qualification">
 
25					$Byline.data  
 
26				</div>
 
27			#end
 
28			#if($Geolocation && $Geolocation.data != "")
 
29				<div class="location" mlnid="$!Geolocation.Milenium.data" qualification="$!setting_qualification">
 
30					$Geolocation.data 
 
31				</div>
 
32			#end
 
33		</div>
 
34		<span class="barra">|</span>
 
35		<div class="date">$fh h</div>
 
36		<span class="barra">|</span>
 
37		
 
38		<div class="twitter">
 
39			<div class="tweet_ico"></div>
 
40			<a class="twitterEG" href="$!{twiterVinculo}" target="_blank">$!{twitterTpu}</a>
 
41		</div>
 
42	</div>	
 
43	
 
44	<div class="detail-text">
 
45		#getTextDetalle($textoWeb)
 
46	</div>
 
47	#if($Frasestitulo && $Frasestitulo.size() == 1)
 
48    	#if ($Frasestitulo && $Frasestitulo.data!= "")
 
49    		<div class="detail-phrase">
 
50    			<div class="phrase-title" mlnid="$!Frasestitulo.Milenium.data" qualification="$!setting_qualification">
 
51    				$!Frasestitulo.data
 
52    			</div>
 
53    			<div class="phrase-text">
 
54    				#set($phrasesText = $Frasestexto.getSiblings())
 
55    				#if ($Frasestexto && $phrasesText && $phrasesText.size()> 0)
 
56    					#foreach($phraseText in $phrasesText)
 
57    						<div class="phrasetext num-${velocityCount}">
 
58    							<span class="quotation-marks">“</span>${phraseText.data.substring(1)}
 
59    						</div>
 
60    					#end
 
61    				#end
 
62    			</div>
 
63    		</div>
 
64    	#end
 
65    #elseif ($Frasestitulo && $Frasestitulo.size() > 1)
 
66    	#set ($phraseFrases = $Frasestitulo.getSiblings())
 
67    	#foreach ($Frases in $phraseFrases)
 
68    		#if ($Frases && $Frases.data!= "")
 
69    			<div class="detail-phrase">
 
70    				<div class="phrase-title" mlnid="$!Frases.Milenium.data" qualification="$!setting_qualification">
 
71    					$!Frases.data
 
72    				</div>
 
73    				<div class="phrase-text">
 
74    					#set($phrasesText = $Frasestexto.getSiblings())
 
75    					#if ($Frasestexto && $phrasesText && $phrasesText.size()> 0)
 
76    						#foreach($phraseText in $phrasesText)
 
77    							<div class="phrasetext num-${velocityCount}">
 
78    								<span class="quotation-marks">“</span>${phraseText.data.substring(1)}
 
79    							</div>
 
80    						#end
 
81    					#end
 
82    				</div>
 
83    			</div>
 
84    		#end
 
85    	#end
 
86    #end
 
87
 
88
 
89	<div class="detail-text-support">
 
90		#getApoyosDetalle()
 
91	</div>
 
92</div>
 
93
 
94#set($TwitterCard = $iterVelocityTools.getVariable("0", "Twitter_Card"))
 
95#if($TwitterCard && $TwitterCard != "")
 
96	#if($Image)
 
97		#getTwitterCards($TwitterCard)
 
98	#else
 
99		#set($TwitterImagen = $iterVelocityTools.getVariable("0", "Twitter_Imagen"))
 
100		#if($TwitterImagen && $TwitterImagen != "")
 
101			#getTwitterCards2($TwitterCard, $TwitterImagen)
 
102		#end
 
103	#end
 
104#end 
Twitter
Suplementos y Especiales