ناشر الأصول غير متوفر بشكل مؤقت.
السنة
الدورية
الشهر
استعراض
حصل خطأ عند معالجة القالب.
?contains(...) expects a string as argument #1, but received a Null. ---- FTL stack trace ("~" means nesting-related): - Failed at: #if cat.treePath?contains(ParentCateg... [in template "11099719610328#20119#127228" at line 26, column 25] ----
1<#assign AssetCategoryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")>
2
3<#if (request.getParameter("category")?has_content)>
4 <#assign ParentCategory=request.getParameter("category") />
5 </#if>
6
7<#if (request.getParameter("showingItems")?has_content)>
8 <#assign showingArticle=request.getParameter("showingItems") />
9 </#if>
10
11<#if showingArticle??>
12 <#assign journalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")/>
13 <#list entries as entry>
14 <#assign article=journalArticleLocalService.getLatestArticle(entry.classPK?number) />
15 <#if article.articleId?number == showingArticle?number>
16 ${articleService.getContentByClassPK(entry.classPK?number, "180761")}
17 </#if>
18 </#list>
19 <#else>
20<#assign should_hide="false"/>
21 <#assign should_hide1="false"/>
22<#if entries?has_content>
23 <#list entries as entry>
24 <#list entry.getCategoryIds() as categoryId>
25 <#assign cat=AssetCategoryLocalService.getCategory(categoryId) />
26 <#if cat.treePath?contains(ParentCategory)>
27 <#assign parts = cat.treePath?split('/')/>
28 <#if parts?size lt 6>
29 <#assign should_hide="true"/>
30 <#elseif parts?size gt 4>
31 <#assign should_hide1="true"/>
32
33 </#if>
34 <#break/>
35 </#if>
36 </#list>
37 </#list>
38 <#if should_hide=="true">
39<div class="container max-w-1400">
40 <#if should_hide=="true">
41 <div class="dl-box publications-box mt-6">
42 <div class="box ps-8 pe-6 pb-8">
43 <div class="box-header">
44 <span>
45 </span>
46 <span class="th">
47 <@liferay.language key="explore-label" />
48 </span>
49 </div>
50 <#list entries as entry>
51 <#list entry.getCategoryIds() as categoryId>
52 <#if categoryId?number==ParentCategory?number>
53 ${articleService.getContentByClassPK(entry.classPK?number, "180770")}
54 </#if>
55 </#list>
56 </#list>
57 </div>
58 </div>
59 <#elseif should_hide1=="true">
60 <#else>
61
62 </#if>
63</div>
64 </#if>
65 <#if should_hide1=="false" && should_hide=="false">
66 <h2 data-hide-tab="#data-table">
67 <@liferay.language key="no-results-found"/>
68 </h2>
69 </#if>
70 </#if>
71 </#if>