An error occurred while processing the template.
Error: on line 11, column 28 in 10154#10192#5155686
The string doesn't match the expected date/time format. The string to parse was: "lun, 13 feb 2017 14:20:00 +0000". The expected format was: "EEE, d MMM yyyy HH:mm:ss Z".
1<#-- Usabi.es 2016 --> 
2<#assign originalLocale = locale> 
3<#setting locale = 'en_US'> 
4<#assign displaydate = .vars['reserved-article-display-date'].data > 
5<#assign displaydate = displaydate?string> 
6<#attempt> 
7    <#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
8    <#setting locale = originalLocale> 
9<#recover> 
10    <#setting locale = originalLocale> 
11    <#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
12</#attempt> 
13 
14<div class="ig-view-post"> 
15    <h4 class="ig-view-post-category">${text_category.getData()}</h4> 
16    <h1>${.vars['reserved-article-title'].data}</h1> 
17    <h3 class="ig-view-post-subtitulo">${Subtítulo.getData()}</h3> 
18    <span class="ig-view-post-date">${displaydate?string.medium}</span> 
19     
20 
21    <span class="ig-view-post-short">${intro_text.getData()}</span> 
22 
23    <div> 
24        <#if video.getData() != ''> 
25            <div class="ig-video">${video.getData()}</div> 
26        <#else> 
27            <#if main_image_doc.getData() !=''> 
28              <img class="main-image"alt="Imagen principal" src="${main_image_doc.getData()}"/> 
29            </#if> 
30        </#if> 
31        <br> 
32        <#assign JournalArticleService = serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleService")> 
33        ${full_content.getData()} 
34 
35        <#if flickr.getData() != ''> 
36            <div class="ig-gallery">${flickr.getData()}</div> 
37        </#if> 
38 
39        <#if slides.getSiblings()?size gt 1> 
40	        <@slider2 /> 
41	    </#if> 
42	     
43	     
44    </div> 
45    <#assign documents = false> 
46    <#list Documentos_y_multimedia5979.getSiblings() as cur_Documentos_y_multimedia5979> 
47        <#if cur_Documentos_y_multimedia5979.getData() != ""> 
48            <#assign documents = true> 
49    	</#if> 
50    </#list> 
51    <#if documents> 
52        <div class="ig-pdf"> 
53        	<#list Documentos_y_multimedia5979.getSiblings() as cur_Documentos_y_multimedia5979> 
54        		<a href="${cur_Documentos_y_multimedia5979.getData()}"> 
55        			${languageUtil.format(locale, "download-x", "PDF")} 
56        		</a> 
57        	</#list> 
58        </div> 
59    </#if> 
60     
61    <div class="ig-tags"> 
62            <#assign journalArticleId = .vars['reserved-article-id'].data> 
63        <#assign journalArticleResourceLocalServiceUtil = staticUtil["com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceUtil"]> 
64        <#assign assetTagLocalServiceUtil = staticUtil["com.liferay.portlet.asset.service.AssetTagLocalServiceUtil"]> 
65 
66        <#assign articleResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, journalArticleId)/> 
67        <#assign categoryList=assetTagLocalServiceUtil.getTags("com.liferay.portlet.journal.model.JournalArticle",articleResourcePK) > 
68        <#if categoryList?size gt 0> 
69            <div class="ig-view-post-tag tag">Etiquetado en: 
70            <#list categoryList as categoryList>     
71                <a href="#">${categoryList.getName()}</a> 
72            </#list> 
73            </div> 
74        </#if> 
75    </div> 
76</div> 
77 
78<#macro slider2> 
79	<#assign heightParam = 400/> 
80	<#assign minHeightParam = 150/> 
81	<#assign contentId = "slider-view-post-id" /> 
82 
83<div class="camera_wrap" id="${contentId}"> 
84	<#list slides.getSiblings() as slide> 
85	    <#if slide.image_doc.data !=""> 
86	        <#assign slide_image = slide.image_doc /> 
87	    </#if> 
88		<div data-thumb="${slide_image.data}" data-src="${slide_image.data}"> 
89			<div class="fadeIn camera_effected camera_content"> 
90	            <h2>${slide.data}</h2> 
91	            <#if slide.link.data!=""> 
92		            <a href="${slide.link.data}" class="slider-link"> 
93		            	<span>${slide.content.data}</span> 
94		            </a> 
95	            </#if> 
96	        </div> 
97	    </div> 
98	</#list> 
99</div> 
100<script> 
101		jQuery(function(){ 
102			jQuery('#${contentId}').camera({ 
103				height: '${heightParam}', 
104                minHeight: '${minHeightParam}', 
105                pauseOnClick: true, 
106                hover: true, 
107                fx: 'random', 
108                loader: 'pie', 
109                pagination: true, 
110                thumbnails: false, 
111                time: 3000, 
112                transPeriod: 600, 
113                alignment: 'center', 
114                autoAdvance: true, 
115                mobileAutoAdvance: true, 
116                portrait: true, 
117                barDirection: 'leftToRight', 
118                imagePath: '', 
119                navigationHover: true, 
120                navigation: true, 
121                playPause: true, 
122                barPosition: 'bottom', 
123                easing: 'easeInOutExpo', 
124                mobileFx: '', 
125                loaderColor: '#eeeeee', 
126                loaderPadding: 2, 
127                loaderStroke: 7, 
128                loaderOpacity: .8, 
129                gridDifference: 250, 
130                pieDiameter: 38, 
131                rows: 4, 
132                slicedCols: 12, 
133                slicedRows: 8, 
134                loaderBgColor: '#222222', 
135                piePosition: 'rightTop', 
136                slideOn: 'random', 
137                mobileNavHover: true, 
138                opacityOnGrid: true, 
139                overlayer: true, 
140                onEndTransition: function(){ 
141  					var ind = $('#slider-HOME-SLIDER-id.camera_wrap').find('.camera_target_content .cameraContent.cameracurrent .imgFake').index(); 
142  					if(ind != -1){ 
143  						$('.camera_wrap .camera_target_content').css('z-index' , '2'); 
144  					}else{ 
145  						$('.camera_wrap .camera_target_content').css('z-index' , '-1'); 
146
147				}        
148			}); 
149			 
150		}); 
151	</script> 
152</#macro> 

Banners Banners

Eventos Eventos

Atrás Agenda del 25 de septiembre de 2017 Adelante

27 de septiembre de 2017

4 de octubre de 2017

5 de octubre de 2017

6 de octubre de 2017

Redes Sociales Redes Sociales