Une erreur s'est produite lors du traitement du modèle.
The following has evaluated to null or missing:
==> blogPath [in template "10110#2640274#75305700" at line 78, column 96]
----
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: ${blogPath} [in template "10110#2640274#75305700" at line 78, column 94]
----
1<style>
2 #p_p_id_${themeDisplay.getPortletDisplay().getId()}_ {
3 margin-top: 84px;
4 }
5 .taglib-page-iterator {
6 max-width: 1248px;
7 margin: 0 auto;
8 }
9 .taglib-page-iterator .lfr-pagination {
10 display: flex;
11 flex-direction: row;
12 align-items: center;
13 justify-content: space-between;
14 }
15 .taglib-page-iterator .lfr-pagination:after {
16 display: none;
17 }
18 .read-more-row {
19 margin-top: -90px;
20 }
21 .read-more-link {
22 color: #000 !important;
23 font-size: 16px;
24 font-weight: 700;
25 border-radius: 40px;
26 border: 2px solid #007CB1;
27 padding: 15px 24px;
28 }
29 @media only screen and (max-width: 767.98px) {
30 .taglib-page-iterator .lfr-pagination {
31 flex-direction: column;
32 }
33 .taglib-page-iterator .lfr-pagination .pagination {
34 flex-wrap: nowrap;
35 align-items: center;
36 text-align: center;
37 margin-top: 30px;
38 }
39 .read-more-row {
40 margin-top: -40px;
41 }
42 }
43
44</style>
45<#assign delta = 0/>
46<#assign paginationType = 0/>
47<#if portletPreferences?has_content>
48 <#assign prefDelta = portletPreferences['delta']/>
49 <#if prefDelta?? && (prefDelta?size > 0)>
50 <#assign delta = prefDelta[0]/>
51 </#if>
52 <#assign prefPaginationType = portletPreferences['paginationType']/>
53 <#if prefPaginationType?? && (prefPaginationType?size > 0)>
54 <#assign paginationType = prefPaginationType[0]/>
55 </#if>
56</#if>
57
58<#if entries?has_content>
59 <div class="container-fluid mb-4">
60 <div class="row">
61 <#list entries as curEntry>
62 <div class="col-12 col-md-6 col-lg-4" >
63 <#assign
64 assetRenderer = curEntry.getAssetRenderer()
65 journalArticle = assetRenderer.getAssetObject()
66 />
67 <@liferay_journal["journal-article"]
68 articleId=journalArticle.getArticleId()
69 ddmTemplateKey=journalArticle.getDDMTemplateKey()
70 groupId=journalArticle.getGroupId()
71 />
72 </div>
73 </#list>
74 </div>
75 <#if paginationType == 'none' && (delta?eval < 10)>
76 <div class="row read-more-row">
77 <div class="col-12 d-flex flex-row justify-content-center">
78 <a class="read-more-link blog" href="${blogPath}/blog-actualites"><@liferay_ui["message"] key="read-all-articles" /></a>
79 </div>
80 </div>
81 </#if>
82 </div>
83</#if>
84
85<script type="text/javascript">
86
87 $(".read-more-link").on('click', function() {
88 if (typeof sendMeasurementEventComponentClick === 'function') {
89 var ctaName = $(this).html();
90 var title =$(this).closest('.portlet-content').find('h2.portlet-title-text').text();
91 var destination = $(this).attr('href');
92 sendMeasurementEventComponentClick(title, 'no_subtitle', ctaName, 'Blog Card', destination, 'no_topic');
93 } else {
94 console.error('sendMeasurementEventComponentClick not defined');
95 }
96 });
97</script>


