Educazione
finanziaria
Premium
finanziaria
Premium
In partnership con Il Post
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> themeDisplay.getThemeSetting("news-vocabulary-id") [in template "51632#51678#6028651" at line 10, column 31] ---- 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: vocabularyIdStaging = themeDisplay.ge... [in template "51632#51678#6028651" at line 10, column 9] ----
1<#if entries?has_content>
2 <#assign
3 dateTimeFormat = languageUtil.get(locale, "HH:mm, dd MMM yyyy")
4 journalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
5 userService = serviceLocator.findService("com.liferay.portal.kernel.service.UserLocalService")
6 portletTitle = themeDisplay.getPortletDisplay().getTitle()
7 layoutSetService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutSetLocalService")
8 groupId = themeDisplay.getScopeGroupId()
9 groupPrependURL = portalUtil.getGroupFriendlyURL(layoutSetService.getLayoutSet(groupId?number, false), themeDisplay, locale)
10 vocabularyIdStaging = themeDisplay.getThemeSetting("news-vocabulary-id")?number
11 />
12 <#if !vocabularyIdLive?? && !themeDisplay.getThemeSetting("news-vocabulary-id-live")?? >
13 <#assign vocabularyIdLive = 52307 />
14 <#else>
15 <#assign vocabularyIdLive = themeDisplay.getThemeSetting("news-vocabulary-id-live")?number />
16 </#if>
17 <div class="container">
18 <div class="row">
19 <#if portletTitle?? && portletTitle!="">
20 <div class="col-12">
21 <div class="section__info d-flex align-items-end">
22 <div>
23 <h1 class="section__title">${portletTitle}</h1>
24 </div>
25 </div>
26 </div>
27 </#if>
28 <div class="col-12">
29 <div class="row">
30 <#list entries as curEntry>
31 <#assign
32 news = journal_template_tool.toMap(journal_template_tool.parseContent(curEntry.getClassPK(), locale))
33 date = curEntry.getPublishDate()
34 category = sella_tool.getCategoryFromVocabularyId(curEntry.getCategories(), vocabularyIdStaging, locale)
35 journalArticle = journalService.getLatestArticle(curEntry.getClassPK(),0)
36 structureKey = journalArticle.getDDMStructureKey()
37 abstract = ""
38 imgSmallUrl = ""
39 urlImage = ""
40 authorFullName = ""
41 liferayUserAuthor=""
42 authorDescription=""
43 />
44 <#if category=="">
45 <#assign category = sella_tool.getCategoryFromVocabularyId(curEntry.getCategories(), vocabularyIdLive , locale) />
46 </#if>
47
48 <#if structureKey == "NEWS-SELLA-INSIGHTS">
49 <#assign
50 liferayUserAuthor = news.AuthorInsights
51 authorDescription = news.AuthorDescriptionInsights
52 />
53 <#if news.SmallImageCardInsights?? && news.SmallImageCardInsights?has_content>
54 <#assign smallImageCardUrl = journal_template_tool.getFileObjectUrl(news.SmallImageCardInsights, themeDisplay) />
55 <#if smallImageCardUrl?has_content>
56 <#assign imgSmallUrl = smallImageCardUrl />
57 <#else>
58 <#if news.abstractInsights?has_content>
59 <#assign abstract = news.abstractInsights />
60 <#else>
61 <#assign abstract = journalArticle.getDescription() />
62 </#if>
63 </#if>
64 </#if>
65 <#if liferayUserAuthor?? && liferayUserAuthor?has_content>
66 <#attempt>
67 <#assign authorLiferay = userService.fetchUserByEmailAddress(themeDisplay.getCompanyId(),liferayUserAuthor) />
68 <#recover>
69 </#attempt>
70 <#if authorLiferay?? && authorLiferay?has_content >
71 <#assign authorFullName = authorLiferay.getFullName() />
72 <#assign urlImage = authorLiferay.getPortraitURL(themeDisplay) />
73 </#if>
74 <#else>
75 <#if news.AuthorFullNameInsights?? && news.AuthorFullNameInsights?has_content>
76 <#assign authorFullName = news.AuthorFullNameInsights />
77 <#if news.AuthorImageInsights?? && news.AuthorImageInsights?has_content>
78 <#assign urlImage = journal_template_tool.getFileObjectUrl(news.AuthorImageInsights, themeDisplay) />
79 </#if>
80 </#if>
81 </#if>
82
83 <#if news.titleShownInsights?has_content>
84 <#assign title = news.titleShownInsights />
85 <#else>
86 <#assign title = journalArticle.getTitle() />
87 </#if>
88 <#else>
89 <#assign
90 imgSmallUrl = journal_template_tool.getFileObjectUrl(news.HeroImage, themeDisplay)
91 />
92
93 <#if news.titleShown?? && news.titleShown?has_content>
94 <#assign title = news.titleShown />
95 <#else>
96 <#assign title = journalArticle.getTitle() />
97 </#if>
98
99 <#if !imgSmallUrl?has_content>
100 <#assign abstract = journalArticle.getDescription() />
101 </#if>
102
103 </#if>
104 <div class="col-md-6 col-lg-4">
105 <#include "${templatesPath}/SELLA-CARD" />
106 </div>
107 </#list>
108 </div>
109 </div>
110 </div>
111 </div>
112</#if>
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> themeDisplay.getThemeSetting("news-vocabulary-id") [in template "SELLA-3-CARD" at line 11, column 31] ---- 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: vocabularyIdStaging = themeDisplay.ge... [in template "SELLA-3-CARD" at line 11, column 9] - Reached through: #include "${templatesPath}/SELLA-3-CARD" [in template "51632#51678#9941221" at line 6, column 1] ----
1<#assign preferences = portletDisplay.getPortletSetup() />
2<#-- <#assign useCustomTitle = "portletSetupUseCustomTitle" /> -->
3<#assign friendlyURL = preferences.getValue('customAnchorTitle','') />
4<#assign sliderClass = "slider-classic" />
5<#assign sectionClass = "" />
6<#include "${templatesPath}/SELLA-3-CARD" />
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> themeDisplay.getThemeSetting("news-vocabulary-id") [in template "SELLA-3-CARD" at line 11, column 31] ---- 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: vocabularyIdStaging = themeDisplay.ge... [in template "SELLA-3-CARD" at line 11, column 9] - Reached through: #include "${templatesPath}/SELLA-3-CARD" [in template "51632#51678#9941221" at line 6, column 1] ----
1<#assign preferences = portletDisplay.getPortletSetup() />
2<#-- <#assign useCustomTitle = "portletSetupUseCustomTitle" /> -->
3<#assign friendlyURL = preferences.getValue('customAnchorTitle','') />
4<#assign sliderClass = "slider-classic" />
5<#assign sectionClass = "" />
6<#include "${templatesPath}/SELLA-3-CARD" />
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> themeDisplay.getThemeSetting("news-vocabulary-id") [in template "SELLA-3-CARD" at line 11, column 31] ---- 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: vocabularyIdStaging = themeDisplay.ge... [in template "SELLA-3-CARD" at line 11, column 9] - Reached through: #include "${templatesPath}/SELLA-3-CARD" [in template "51632#51678#9941221" at line 6, column 1] ----
1<#assign preferences = portletDisplay.getPortletSetup() />
2<#-- <#assign useCustomTitle = "portletSetupUseCustomTitle" /> -->
3<#assign friendlyURL = preferences.getValue('customAnchorTitle','') />
4<#assign sliderClass = "slider-classic" />
5<#assign sectionClass = "" />
6<#include "${templatesPath}/SELLA-3-CARD" />
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> themeDisplay.getThemeSetting("news-vocabulary-id") [in template "SELLA-3-CARD" at line 11, column 31] ---- 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: vocabularyIdStaging = themeDisplay.ge... [in template "SELLA-3-CARD" at line 11, column 9] - Reached through: #include "${templatesPath}/SELLA-3-CARD" [in template "51632#51678#9941221" at line 6, column 1] ----
1<#assign preferences = portletDisplay.getPortletSetup() />
2<#-- <#assign useCustomTitle = "portletSetupUseCustomTitle" /> -->
3<#assign friendlyURL = preferences.getValue('customAnchorTitle','') />
4<#assign sliderClass = "slider-classic" />
5<#assign sectionClass = "" />
6<#include "${templatesPath}/SELLA-3-CARD" />
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> themeDisplay.getThemeSetting("news-vocabulary-id") [in template "SELLA-3-CARD" at line 11, column 31] ---- 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: vocabularyIdStaging = themeDisplay.ge... [in template "SELLA-3-CARD" at line 11, column 9] - Reached through: #include "${templatesPath}/SELLA-3-CARD" [in template "51632#51678#9941221" at line 6, column 1] ----
1<#assign preferences = portletDisplay.getPortletSetup() />
2<#-- <#assign useCustomTitle = "portletSetupUseCustomTitle" /> -->
3<#assign friendlyURL = preferences.getValue('customAnchorTitle','') />
4<#assign sliderClass = "slider-classic" />
5<#assign sectionClass = "" />
6<#include "${templatesPath}/SELLA-3-CARD" />
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> themeDisplay.getThemeSetting("news-vocabulary-id") [in template "SELLA-3-CARD" at line 11, column 31] ---- 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: vocabularyIdStaging = themeDisplay.ge... [in template "SELLA-3-CARD" at line 11, column 9] - Reached through: #include "${templatesPath}/SELLA-3-CARD" [in template "51632#51678#9941221" at line 6, column 1] ----
1<#assign preferences = portletDisplay.getPortletSetup() />
2<#-- <#assign useCustomTitle = "portletSetupUseCustomTitle" /> -->
3<#assign friendlyURL = preferences.getValue('customAnchorTitle','') />
4<#assign sliderClass = "slider-classic" />
5<#assign sectionClass = "" />
6<#include "${templatesPath}/SELLA-3-CARD" />