Nuovi Orari Ambulatorio Medico - Comune di Laglio
Aggregatore Risorse
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> paragraph.paragraphImage [in template "20101#20127#NEWS-DETAILS-TMPL" at line 173, column 321] ---- 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: ${paragraph.paragraphImage.getData()} [in template "20101#20127#NEWS-DETAILS-TMPL" at line 173, column 319] ----
1<#assign mainNavigationPreferencesMap = {"displayDepth": "1", "portletSetupPortletDecoratorId": "barebone"} />
2<#assign mainNavigationPreferencesMapAnchor = {"displayDepth": "1", "portletSetupPortletDecoratorId": "barebone"} />
3
4<#if parentStructureFieldSet42230?has_content>
5 <#assign idMenu = parentStructureFieldSet42230.parentStructureFieldSet34993.mainTitle.getData()?replace('?', '')?replace('à','')?trim />
6
7 <#assign readTimeElement = parentStructureFieldSet42230.readTime />
8 <#assign PublishDateElement = parentStructureFieldSet42230.PublishDate />
9 <#assign mainTitleElement = parentStructureFieldSet42230.parentStructureFieldSet34993.mainTitle />
10 <#assign mainImageElement = parentStructureFieldSet42230.mainImage />
11 <#assign mainHTMLElement = parentStructureFieldSet42230.parentStructureFieldSet34993.mainHTML />
12 <#assign mainWebContentElement = parentStructureFieldSet42230.parentStructureFieldSet34993.mainWebContent />
13 <#assign paragraphTitleElement = parentStructureFieldSet42230.paragraphTitleFieldSet/>
14
15<#else>
16 <#assign mainNavigationPreferencesMapAnchor = {"displayDepth": "1", "portletSetupPortletDecoratorId": "barebone"} />
17 <#assign idMenu = mainTitle.getData()?replace('?', '')?replace('à','')?trim >
18
19 <#assign readTimeElement = readTime />
20 <#assign PublishDateElement = PublishDate />
21 <#assign mainTitleElement = mainTitle />
22 <#assign mainImageElement = mainImage />
23 <#assign mainHTMLElement = mainHTML />
24 <#assign mainWebContentElement = mainWebContent />
25 <#assign paragraphTitleElement = paragraphTitle />
26</#if>
27
28<div class="component-block no-space">
29 <div class="intro-text-wrapper">
30 <div class="container">
31 <div class="row">
32 <div class="col-10 offset-1">
33 <!-- breadcrumbs-->
34 <@liferay.breadcrumbs />
35 </div>
36 </div>
37 <div class="row">
38 <div class="col-10 col-lg-6 offset-1">
39 <!-- icon-->
40 <!-- title-->
41 <h1>${mainTitleElement.getData()}</h1>
42 <!-- search-->
43 <!-- intro data-->
44 <div class="info-wrapper">
45 <div class="row">
46 <div class="col-12 col-lg-4">
47 <span>
48 <!--LABEL-->
49 <@liferay.language key="it.wedoo_news_publishdate" />:
50 <br>
51 <strong>
52 <#assign PublishDate_Data = getterUtil.getString(PublishDateElement.getData())>
53 <#if validator.isNotNull(PublishDate_Data)>
54 <#assign PublishDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", PublishDate_Data, locale)>
55 ${dateUtil.getDate(PublishDate_DateObj, "dd MMM yyyy", locale)}
56 </#if>
57 </strong>
58 </span>
59 </div>
60 <#if readTimeElement.getData()?? && readTimeElement.getData() != "">
61 <div class="col-12 col-lg-4">
62 <!--LABEL-->
63 <span><@liferay.language key="it.wedoo_news_timetoread" />:
64 <br>
65 <strong>${readTimeElement.getData()}</strong>
66 </span>
67 </div>
68 </#if>
69 </div>
70 </div>
71 </div>
72 <div class="col-10 offset-1 col-lg-4 offset-lg-1">
73 <!-- chips column-->
74 <div class="chips-column">
75 <div class="generic-category-label">
76 <!--LABEL-->
77 <span><@liferay.language key="it.wedoo_news_titlemenu" />: </span>
78 </div>
79
80 <@liferay.navigation_menu
81 default_preferences=
82 freeMarkerPortletPreferences.getPreferences(mainNavigationPreferencesMap)
83 instance_id="idMenu"/>
84 </div>
85 </div>
86 </div>
87 </div>
88 </div>
89</div>
90
91<#if mainImageElement.getData()?? && mainImageElement.getData() != "">
92 <div class="component-block no-space">
93 <div class="cover-wrapper">
94 <div class="img-wrapper">
95 <img class="fill" alt="${mainImageElement.getAttribute('alt')}" data-fileentryid="${mainImageElement.getAttribute('fileEntryId')}" src="${mainImageElement.getData()}" />
96 </div>
97 <#if mainImageElement.getAttribute("alt")?? && mainImageElement.getAttribute("alt") != "">
98 <div class="container">
99 <div class="row">
100 <div class="col-12">
101 <div class="dida">
102 ${mainImageElement.getAttribute("alt")}
103 </div>
104 </div>
105 </div>
106 </div>
107 </#if>
108 </div>
109 </div>
110</#if>
111
112<div class="container">
113 <div class="row">
114 <div class="col-12 col-lg-3 right-border">
115 <@liferay.navigation_menu
116 default_preferences=
117 freeMarkerPortletPreferences.getPreferences(mainNavigationPreferencesMapAnchor)
118 instance_id="idMenuAnchor"/>
119 </div>
120 <div class="col-10 col-lg-8 offset-1">
121 <div class="right-page-content">
122 <!-- MAIN -->
123 <#if mainHTMLElement??>
124 <#assign htmlMain = mainHTMLElement.getData()>
125 <#if htmlMain?has_content>
126 <div class="component-block half-space">
127 <div class="intro-text-center">
128 <p>${htmlMain}</p>
129 </div>
130 </div>
131 </#if>
132 </#if>
133
134 <#if mainWebContentElement?? && mainWebContentElement.getData()?has_content>
135 <#assign
136 wcMainData = mainWebContentElement.getData()?eval
137 classPKMain = wcMainData.classPK
138 serviceMain = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
139 mainArticle = serviceMain.getLatestArticle(classPKMain?number)>
140
141 <#if !mainArticle.isInTrash()>
142 <@liferay_journal["journal-article"]
143 articleId = mainArticle.getArticleId()
144 ddmTemplateKey = mainArticle.getTemplateId()
145 groupId = mainArticle.getGroupId()/>
146 </#if>
147 </#if>
148
149 <!-- PARAGRAPH -->
150 <#if paragraphTitleElement??>
151 <#assign paragraphs = paragraphTitleElement.getSiblings()>
152 <#if paragraphs?has_content>
153 <#list paragraphs as paragraph>
154 <#if paragraph?has_content>
155 <#assign titleParagraph = paragraph.paragraphTitle.getData()>
156 <div class="component-block it-page-section">
157 <div class="text-media-wrapper">
158 <div class="texts">
159 <#if titleParagraph? has_content>
160 <h2 class="anchor-details-page" id="id_${paragraph?index}" data-title="${titleParagraph}">${titleParagraph}</h2>
161 </#if>
162
163 <#if paragraph.paragraphTitleFieldSetFieldSet.paragraphHTML??>
164 <#assign htmlParagraph = paragraph.paragraphTitleFieldSetFieldSet.paragraphHTML.getData()>
165 <#if htmlParagraph? has_content>
166 ${htmlParagraph}
167 </#if>
168 </#if>
169
170 <!-- PARAGRAPH IMAGE -->
171 <#if paragraph.paragraphTitleFieldSetFieldSet.paragraphImage.getData()?? && paragraph.paragraphTitleFieldSetFieldSet.paragraphImage.getData() != "">
172 <div class="img-wrapper">
173 <img class='fill' alt="${paragraph.paragraphTitleFieldSetFieldSet.paragraphImage.getAttribute('alt')}" data-fileentryid="${paragraph.paragraphTitleFieldSetFieldSet.paragraphImage.getAttribute('fileEntryId')}" src="${paragraph.paragraphImage.getData()}" />
174 </div>
175 </#if>
176
177 <!-- PARAGRAPH URL VIDEO -->
178 <#if paragraph.paragraphTitleFieldSetFieldSet.paragraphVideoURL??>
179 <#assign urlVideo = paragraph.paragraphTitleFieldSetFieldSet.paragraphVideoURL.getData()>
180 <#if urlVideo?has_content>
181 <div class="video-wrapper">
182 <iframe width="560" height="315" src=${urlVideo} frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
183 </div>
184 </#if>
185 </#if>
186
187 <!-- PARAGRAPH LOOP ON WEB CONTENT -->
188 <#if getterUtil.getBoolean(paragraph.paragraphTitleFieldSetFieldSet.contentsGrouped.getData())>
189 <#if paragraph.paragraphTitleFieldSetFieldSet.paragraphWebContent??>
190 <div class="row">
191 <#assign paragraphWebContents = paragraph.paragraphWebContent.paragraphTitleFieldSetFieldSet.getSiblings()>
192 <#if paragraphWebContents?has_content>
193 <#list paragraphWebContents as paragraphWebContent>
194
195 <div class="col-12 col-lg-6">
196 <#if paragraphWebContent?has_content && paragraphWebContent.getData() != "">
197 <#assign wcParagraphData = paragraphWebContent.getData()?eval
198 classPKParagraph = wcParagraphData.classPK
199 serviceParagraph = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
200 paragraphArticle = serviceParagraph.getLatestArticle(classPKParagraph?number)>
201
202 <#if !paragraphArticle.isInTrash()>
203 <@liferay_journal["journal-article"]
204 articleId = paragraphArticle.getArticleId()
205 ddmTemplateKey = paragraphArticle.getTemplateId()
206 groupId = paragraphArticle.getGroupId()/>
207 </#if>
208
209 </#if>
210 </div>
211 </#list>
212 </#if>
213 </div>
214 </#if>
215 <#else>
216 <#if paragraph.paragraphTitleFieldSetFieldSet.paragraphWebContent??>
217 <#assign paragraphWebContents = paragraph.paragraphTitleFieldSetFieldSet.paragraphWebContent.getSiblings()>
218 <#if paragraphWebContents?has_content>
219 <#list paragraphWebContents as paragraphWebContent>
220 <#if paragraphWebContent?has_content && paragraphWebContent.getData() != "">
221
222 <#assign wcParagraphData = paragraphWebContent.getData()?eval
223 classPKParagraph = wcParagraphData.classPK
224 serviceParagraph = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
225 paragraphArticle = serviceParagraph.getLatestArticle(classPKParagraph?number)>
226
227 <#if !paragraphArticle.isInTrash()>
228 <@liferay_journal["journal-article"]
229 articleId = paragraphArticle.getArticleId()
230 ddmTemplateKey = paragraphArticle.getTemplateId()
231 groupId = paragraphArticle.getGroupId()/>
232 </#if>
233
234 </#if>
235 </#list>
236 </#if>
237 </#if>
238 </#if>
239 </div>
240 </div>
241 </div>
242 </#if>
243 </#list>
244 </#if>
245 </#if>
246 <@wedoo.lastupdate/>
247 </div>
248 </div>
249 </div>
250</div>
251
252<script>
253 Liferay.on(
254 'allPortletsReady',
255 function() {
256 setTimeout(function(){
257 $(document).scrollTop(0);
258 }, 100);
259 setTimeout(function(){
260 $('#header').removeClass('header-sticky');
261 }, 125);
262 }
263);
264</script>