صفحه اصلی - بک آپ - بنیاد بین المللی علوم وحیانی اسراء
The following has evaluated to null or missing: ==> assetObject.getArticleId [in template "20097#20123#49467" at line 167, column 47] ---- 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: @liferay_journal["journal-article"] a... [in template "20097#20123#49467" at line 166, column 37] ----
1<#if entries?has_content>
2 <style>
3 .journal-content-article {
4 width: 100%;
5 height: 100%;
6 }
7
8 .office-slideshow-container {
9 width: 100%;
10 }
11
12 .office-slideshow {
13 width: 100%;
14 }
15
16 .office-slideshow-item-wrapper {
17 width: 100%;
18 height: 100%;
19 }
20
21 .office-slideshow-item {
22 width: 100%;
23 height: 100%;
24 position: relative;
25 }
26
27 .office-slideshow-image-container {
28 width: 100%;
29 height: 100%;
30 }
31
32 .office-slideshow-image {
33 width: 100%;
34 height: 100%;
35 object-position: center;
36 object-fit: cover;
37 }
38
39
40 .office-slideshow-details {
41 width: 75%;
42 max-width: 964px;
43 height: 86px;
44 background: rgba(13, 39, 77, 0.6);
45 position: absolute;
46 bottom: 39px;
47 padding: 4px 0;
48 display: flex;
49 align-items: center;
50 z-index: 3;
51 }
52
53 html.rtl .office-slideshow-details {
54 left: 0;
55 border-radius: 0 50px 50px 0;
56 text-align: right;
57 }
58
59 html.ltr .office-slideshow-details {
60 right: 0;
61 border-radius: 50px 0 0 50px;
62 text-align: right;
63 }
64
65 .office-slideshow-details-paragraph {
66 font-family: IRANSans;
67 font-size: 19px;
68 font-weight: 500;
69 text-align: right;
70 /*line-height: 32px;*/
71
72 /*text-align: right;*/
73 color: #FFFFFF;
74 margin: 0;
75
76 /*width: calc(100% - 248px);*/
77 width: 100%;
78 padding: 11px 46px;
79 }
80
81
82 .office-slideshow-item-overlay {
83 background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45.62%, rgba(0, 0, 0, 0.9) 100%);
84 width: 100%;
85 height: 100%;
86 display: block;
87 position: absolute;
88 left: 0;
89 top: 0;
90 z-index: 2;
91 }
92
93
94 .office-slideshow .splide__arrow, .office-slideshow .splide__pagination {
95 display: none;
96 }
97
98
99 @media only screen and (max-width: 992px) {
100
101 .office-slideshow-details {
102 width: 85%;
103 /*max-width: calc(90% - 18px);*/
104 }
105
106 .office-slideshow-details-paragraph {
107 padding: 10px 15px;
108 font-size: 15px;
109 }
110
111
112 }
113
114 @media only screen and (max-width: 768px) {
115
116 .office-slideshow-details {
117 width: 90%;
118 }
119
120 .office-slideshow-details-paragraph {
121 padding: 10px 15px;
122 font-size: 15px;
123 }
124
125
126 }
127
128
129 @media only screen and (max-width: 575px) {
130
131
132 .office-slideshow-details {
133 /*width: calc(60%);*/
134 width: 98%;
135 height: 45px;
136 }
137
138 .office-slideshow-details-paragraph {
139 font-size: 11px;
140 /*padding: 0;*/
141 /*width: calc(100% - 89px);*/
142 }
143
144
145 }
146
147 </style>
148
149
150 <div class="office-slideshow-container">
151 <div class="w-100">
152 <div class="office-slideshow splide splide-${themeDisplay.getPortletDisplay().getId()}">
153 <div class="splide__track">
154 <ul class="splide__list">
155
156 <#list entries as curEntry>
157
158 <li class="splide__slide">
159 <a href="${assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry,true)}">
160
161 <#assign
162 assetRenderer = curEntry.getAssetRenderer()
163 assetObject = assetRenderer.getAssetObject()
164 assetType = assetRenderer.getType()
165 />
166 <@liferay_journal["journal-article"]
167 articleId=assetObject.getArticleId()
168 ddmTemplateKey="49471"
169 groupId=assetObject.getGroupId()
170
171
172 />
173
174
175 </a>
176 </li>
177
178 </#list>
179
180 </ul>
181 </div>
182 </div>
183 </div>
184 </div>
185
186
187 <script>
188
189 new Splide(".splide-${themeDisplay.getPortletDisplay().getId()}", {
190 direction: document.getElementsByTagName("html")[0].getAttribute("dir"),
191 perPage: 1,
192 height: 'calc(100vh - 118px)',
193 breakpoints: {
194 992: {
195 height: 'calc(100vh - 99px)',
196 },
197 576: {
198 height: 'calc(100vh - 63px)',
199 }
200 },
201
202 }).mount();
203
204
205 </script>
206<#else>
207 <div class="alert alert-info text-center">
208 <@liferay_ui["message"] key="there-are-no-results" />
209 </div>
210</#if>