test
Sisältöjulkaisija
የቅርብ ዜናዎች
Sisälletyt portletit
Sisältöjulkaisija
Virhe tapahtui prosessoidessa esitysmallia.
The following has evaluated to null or missing: ==> assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) [in template "20101#20128#34132" at line 368, column 28] ---- Tip: If the failing expression is known to be 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: #assign viewURL = assetRenderer.getUR... [in template "20101#20128#34132" at line 368, column 9] ----
1<style>
2/* Reset */
3*{margin:0;padding:0;}
4
5/* Slider */
6#slider{
7 width:100%;
8 height:460px;
9 position:relative;
10 overflow:hidden;
11}
12@keyframes load{
13 from{left:-100%;}
14 to{left:0;}
15}
16.slides{
17 width:400%;
18 height:100%;
19 position:relative;
20 -webkit-animation:slide 30s infinite;
21 -moz-animation:slide 30s infinite;
22 animation:slide 30s infinite;
23}
24.slider{
25 width:25%;
26 height:100%;
27 float:left;
28 position:relative;
29 z-index:1;
30 overflow:hidden;
31}
32.slide img{
33 width:100%;
34 height:100%;
35}
36.slide img{
37 width:100%;
38 height:100%;
39}
40.image{
41 width:100%;
42 height:100%;
43}
44.image img{
45 width:100%;
46 height:100%;
47}
48
49/* Legend */
50.legend{
51 border:600px solid transparent;
52 border-left:800px solid rgba(52, 73, 94, .7);
53 border-bottom:0;
54 position:absolute;
55 bottom:0;
56}
57
58/* Contents */
59.content{
60 width:100%;
61 height:100%;
62 position:absolute;
63 overflow:hidden;
64}
65.content-txt{
66 max-width:500px;
67 height:150px;
68 float:left;
69 position:relative;
70 top:230px;
71 -webkit-animation:content-s 7.5s infinite;
72 -moz-animation:content-s 7.5s infinite;
73 animation:content-s 7.5s infinite;
74}
75.content-txt h1{
76 font-family:Intro;
77 font-size:23px;
78 color:#fff;
79 text-align:left;
80 margin-left:30px;
81 padding-bottom:10px;
82}
83.content-txt h2{
84 font-family:Quicksand;
85 font-weight:normal;
86 font-size:16px;
87 font-style:italic;
88 color:#fff;
89 text-align:left;
90 margin-left:30px;
91}
92
93/* Switch */
94.switch{
95 width:120px;
96 height:10px;
97 position:absolute;
98 bottom:50px;
99 z-index:99;
100 left:30px;
101}
102.switch > ul{
103 list-style:none;
104}
105.switch > ul > li{
106 width:10px;
107 height:10px;
108 border-radius:50%;
109 background:#333;
110 float:left;
111 margin-right:5px;
112 cursor:pointer;
113}
114.switch ul{
115 overflow:hidden;
116}
117.on{
118 width:100%;
119 height:100%;
120 border-radius:50%;
121 background:#ea565c;
122 position:relative;
123 -webkit-animation:on 30s infinite;
124 -moz-animation:on 30s infinite;
125 animation:on 30s infinite;
126}
127
128/* Animation */
129@-webkit-keyframes slide{
130 0%,100%{
131 margin-left:0%;
132 }
133 21%{
134 margin-left:0%;
135 }
136 25%{
137 margin-left:-100%;
138 }
139 46%{
140 margin-left:-100%;
141 }
142 50%{
143 margin-left:-200%;
144 }
145 71%{
146 margin-left:-200%;
147 }
148 75%{
149 margin-left:-300%;
150 }
151 96%{
152 margin-left:-300%;
153 }
154}
155@-moz-keyframes slide{
156 0%,100%{
157 margin-left:0%;
158 }
159 21%{
160 margin-left:0%;
161 }
162 25%{
163 margin-left:-100%;
164 }
165 46%{
166 margin-left:-100%;
167 }
168 50%{
169 margin-left:-200%;
170 }
171 71%{
172 margin-left:-200%;
173 }
174 75%{
175 margin-left:-300%;
176 }
177 96%{
178 margin-left:-300%;
179 }
180}
181@keyframes slide{
182 0%,100%{
183 margin-left:0%;
184 }
185 21%{
186 margin-left:0%;
187 }
188 25%{
189 margin-left:-100%;
190 }
191 46%{
192 margin-left:-100%;
193 }
194 50%{
195 margin-left:-200%;
196 }
197 71%{
198 margin-left:-200%;
199 }
200 75%{
201 margin-left:-300%;
202 }
203 96%{
204 margin-left:-300%;
205 }
206}
207
208@-webkit-keyframes content-s{
209 0%{left:-420px;}
210 10%{left:0px;}
211 30%{left:0px;}
212 40%{left:0px;}
213 50%{left:0px;}
214 60%{left:0px;}
215 70%{left:0;}
216 80%{left:-420px;}
217 90%{left:-420px;}
218 100%{left:-420px;}
219}
220@-moz-keyframes content-s{
221 0%{left:-420px;}
222 10%{left:0px;}
223 30%{left:0px;}
224 40%{left:0px;}
225 50%{left:0px;}
226 60%{left:0px;}
227 70%{left:0;}
228 80%{left:-420px;}
229 90%{left:-420px;}
230 100%{left:-420px;}
231}
232@keyframes content-s{
233 0%{left:-420px;}
234 10%{left:20px;}
235 15%{left:0px;}
236 30%{left:0px;}
237 40%{left:0px;}
238 50%{left:0px;}
239 60%{left:0px;}
240 70%{left:0;}
241 80%{left:-420px;}
242 90%{left:-420px;}
243 100%{left:-420px;}
244}
245
246@-webkit-keyframes on{
247 0%,100%{
248 margin-left:0%;
249 }
250 21%{
251 margin-left:0%;
252 }
253 25%{
254 margin-left:15px;
255 }
256 46%{
257 margin-left:15px;
258 }
259 50%{
260 margin-left:30px;
261 }
262 71%{
263 margin-left:30px;
264 }
265 75%{
266 margin-left:45px;
267 }
268 96%{
269 margin-left:45px;
270 }
271}
272
273@-moz-keyframes on{
274 0%,100%{
275 margin-left:0%;
276 }
277 21%{
278 margin-left:0%;
279 }
280 25%{
281 margin-left:15px;
282 }
283 46%{
284 margin-left:15px;
285 }
286 50%{
287 margin-left:30px;
288 }
289 71%{
290 margin-left:30px;
291 }
292 75%{
293 margin-left:45px;
294 }
295 96%{
296 margin-left:45px;
297 }
298}
299
300@keyframes on{
301 0%,100%{
302 margin-left:0%;
303 }
304 21%{
305 margin-left:0%;
306 }
307 25%{
308 margin-left:15px;
309 }
310 46%{
311 margin-left:15px;
312 }
313 50%{
314 margin-left:30px;
315 }
316 71%{
317 margin-left:30px;
318 }
319 75%{
320 margin-left:45px;
321 }
322 96%{
323 margin-left:45px;
324 }
325}
326
327.post-img:hover>img {
328 -webkit-transform: scale(1.2);
329 -ms-transform: scale(1.2);
330 transform: scale(1.2);
331}
332.post-img:after{
333content: "";
334 position: absolute;
335 left: 0;
336 right: 0;
337 top: 0;
338 bottom: 0;
339}
340.post-img>img {
341 width: 100%;
342 -webkit-transition: 1.6s -webkit-transform;
343 transition: 1.6s -webkit-transform;
344 transition: 1.6s transform;
345 transition: 1.6s transform, 1.6s -webkit-transform;
346}
347
348.posttips .post-img {
349 display: block;
350 overflow: hidden;
351}
352
353
354</style>
355
356<#assign i=1/>
357
358<#if entries?has_content>
359 <div id="slider">
360 <div class="slides">
361
362<#list entries as entry>
363<#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) />
364<#assign assetRenderer = entry.getAssetRenderer() />
365 <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) />
366
367 <#if assetLinkBehavior != "showFullContent">
368 <#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) />
369 </#if>
370<#if entry.getClassName() == "com.liferay.journal.model.JournalArticle" && assetRenderer.getThumbnailPath(renderRequest)??>
371
372
373
374
375 <#if i<5>
376 <div class="slider">
377 <div class="legend"></div>
378 <div class="content">
379 <div class="content-txt">
380
381 <a href="${viewURL}"> <h1>${entry.getTitle(locale)}</h1></a>
382
383 <h2 style="color:#ea565c"><#setting time_zone=timeZone.ID>
384<#setting locale=locale.toString()>
385<#setting datetime_format="EEE, d MMM yyyy">
386
387${entry.title} ${entry.modifiedDate?datetime}</h2>
388
389 </div>
390 </div>
391 <div class="image posttips">
392 <a class="post-img" href="${viewURL}"> <img src="${assetRenderer.getThumbnailPath(renderRequest)}"></a>
393 </div>
394 </div>
395
396
397 <#assign i=1+i/>
398
399
400 </#if>
401
402</#if>
403
404</#list>
405 </div>
406 <div class="switch">
407 <ul>
408 <li>
409 <div class="on"></div>
410 </li>
411 <li></li>
412 <li></li>
413 <li></li>
414 </ul>
415 </div>
416 </div>
417</#if>