Alpopular | Procesos adecuados de gestión documental
An error occurred while processing the template.
The following has evaluated to null or missing: ==> cur_preImg.titlep [in template "1726901#1726944#5999042" at line 48, column 135] ---- 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: ${cur_preImg.titlep.getData()} [in template "1726901#1726944#5999042" at line 48, column 133] ----
1<section class="noticias-ap">
2 <div class="container">
3 <!--<h2>Noticias</h2>-->
4 <div class="row">
5 <div class="col-sm-12 col-md-8">
6 <div class="contenido-noticia-ap">
7 <h2>${notiTitle.getData()}</h2>
8 <#if notiImg.getData()?? && notiImg.getData() != "">
9 <div class="img-noticia-ap">
10 <#if notiImg??>
11 <img alt="${notiImg.getAttribute("alt")}" title="${notiImg.titlen.getData()}" src="${notiImg.getData()}" />
12 <#else>
13 <img alt="${notiImg.getAttribute("alt")}" src="${notiImg.getData()}" />
14 </#if>
15 </div>
16 </#if>
17 <div class="comparte-noticia-ap">
18 <p><b>COMPARTE ESTE ARTÍCULO</b></p>
19 <ul>
20 <li>
21 <a style="cursor: pointer;" id="facebook" onclick="sharedSocial('facebook','xtf','500','400');"><img src="/documents/1726938/5681465/fb.png/206979f9-989b-a140-0825-f073e3b1b256?t=1608051023157" alt="Boton facebook" title="Enlace a Facebook" target="_blank"></a>
22 </li>
23 <li>
24 <a style="cursor: pointer;" id="twitter" onclick="sharedSocial('twitter','xtf','500','400')"><img src="/documents/1726938/5681465/tw.png/661ed83d-df83-981a-d31f-6f9c3a8b8eec?t=1608051022374" alt="Boton twitter" title="Enlace a Twitter" target="_blank"></a>
25 </li>
26 <li>
27 <a style="cursor: pointer;" id="linkedin" onclick="sharedSocial('linkedin','xtf','500','400')"><img src="/documents/1726938/5681465/li.png/a7f12c0d-65a4-1cb2-85e1-1a47cd68357d?t=1608051023766" alt="Boton Linkedin" title="Enlace a Linkedin" target="_blank"></a>
28 </li>
29 </ul>
30 </div>
31
32 ${notiContent.getData()}
33
34 </div>
35 </div>
36 <div class="col-sm-12 col-md-4">
37 <div class="otras-noticias-ap">
38 <#if preImg.getSiblings()?has_content>
39 <div class="titulo">
40 <h3>Otras Noticias</h3>
41 </div>
42 <div class="noticia">
43 <#list preImg.getSiblings() as cur_preImg>
44 <#if cur_preImg.getData()?? && cur_preImg.getData() != "">
45
46 <#if cur_preImg??>
47 <a href="${cur_preImg.onTitle.notiURL.getData()}">
48 <img alt="${cur_preImg.getAttribute("alt")}" title="${cur_preImg.titlep.getData()}" src="${cur_preImg.getData()}" /><span>${cur_preImg.onTitle.getData()}</span>
49 <#else>
50 <a href="${cur_preImg.onTitle.notiURL.getData()}">
51 <img alt="${cur_preImg.getAttribute("alt")}" src="${cur_preImg.getData()}" /><span>${cur_preImg.onTitle.getData()}</span>
52 </#if>
53
54
55 </a>
56 </#if>
57 </#list>
58 </div>
59 </#if>
60 </div>
61 </div>
62 </div>
63 </div>
64</section>
65<script>
66function sharedSocial (redsocial, title, w, h){
67
68 var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : window.screenX;
69 var dualScreenTop = window.screenTop != undefined ? window.screenTop : window.screenY;
70 var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
71 var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;
72 var left = ((width / 2) - (w / 2)) + dualScreenLeft;
73 var top = ((height / 2) - (h / 2)) + dualScreenTop;
74 var newWindow;
75 var url2 = window.location.href;
76 var link
77
78 if(redsocial==="facebook"){
79 newWindow = window.open("https://www.facebook.com/share.php?u="+url2, title, 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);
80 }else if(redsocial==="twitter"){
81 newWindow = window.open("https://twitter.com/intent/tweet?url="+url2, title, 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);
82 }else if(redsocial==="linkedin"){
83 newWindow = window.open("https://www.linkedin.com/sharing/share-offsite/?url="+url2, title, 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);
84 }
85
86 if (window.focus) {
87 newWindow.focus();
88 }
89}
90</script>
91<style>
92/*.noticia a {
93 width: 348px !important;
94 float: left;
95}*/
96
97
98div.default-ap p {
99 line-height: 1.6 !important;
100}
101
102
103@media only screen and (max-width: 420px) and (min-width: 330px) {
104
105.otras-noticias-ap .noticia a {
106 margin-top: 10px;
107 margin-bottom: 10px;
108}
109
110}
111
112</style>