Közzétételek

Keresési eredmények

Hiba jelentkezett a sablon feldolgozása során.
Syntax error in template "10132#10165#4489501" in line 102, column 39:
Naming convention mismatch. Identifiers that are part of the template language (not the user specified ones) must consistently use the same naming convention within the same template. This template uses legacy naming convention (directive (tag) names are like examplename, everything else is like example_name) estabilished by auto-detection at line 15, column 22 by token "has_content", but the problematic token, "assetEntryLocalService", uses a different convention.
1<#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")> 
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
3 
4<div class="c-mb-4 c-mt-4 search-total-label"> 
5    <#assign keywordHtml = "<strong>" + htmlUtil.escape(searchResultsPortletDisplayContext.getKeywords()) + "</strong>"> 
6    <#if searchContainer.getTotal() == 1> 
7        ${languageUtil.format(locale, "x-result-for-x", [searchContainer.getTotal(), keywordHtml], false)} 
8    <#else> 
9        ${languageUtil.format(locale, "x-results-for-x", [searchContainer.getTotal(), keywordHtml], false)} 
10    </#if> 
11</div> 
12 
13<div class="display-list"> 
14    <ul class="list-group" id="search-results-display-list"> 
15        <#if entries?has_content> 
16            <#list entries as entry> 
17 
18                <#assign url = ""> 
19                <#if entry.getClassName() == "com.liferay.document.library.kernel.model.DLFileEntry"> 
20                    <#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntry(entry.getClassPK())> 
21                    <#assign url = themeDisplay.getPortalURL() + "/documents/" + themeDisplay.getScopeGroupId() + "/" + dlFileEntry.getFolderId() + "/" + dlFileEntry.getTitle()?url("UTF-8") + "/" + dlFileEntry.getUuid()> 
22                <#else> 
23                    <#assign url = entry.getViewURL()> 
24                </#if> 
25 
26                <a href="${url}" class="text-decoration-none"> 
27                    <li class="list-group-item list-group-item-flex"> 
28                        <div class="autofit-col autofit-col-expand"> 
29                            <section class="autofit-section"> 
30                                <div class="c-mt-0 list-group-title"> 
31                                    ${entry.getHighlightedTitle()} 
32                                </div> 
33 
34                                <div class="search-results-metadata"> 
35                                    <#if entry.isLocaleReminderVisible()> 
36                                        <p class="list-group-subtext"> 
37                                            <span class="lfr-portal-tooltip" title="${entry.getLocaleReminder()}"> 
38                                                <@clay["icon"] symbol="${entry.getLocaleLanguageId()?lower_case?replace('_', '-')}" /> 
39                                            </span> 
40                                        </p> 
41                                    </#if> 
42 
43                                    <#-- Tartalom előnézet --> 
44                                    <#if entry.isContentVisible()> 
45                                        <p class="list-group-subtext"> 
46                                            <span class="subtext-item"> 
47                                                ${entry.getContent()} 
48                                            </span> 
49                                        </p> 
50                                    </#if> 
51 
52                                    <#if entry.isFieldsVisible()> 
53                                        <p class="list-group-subtext"> 
54                                            <#assign separate = false> 
55                                            <#list entry.getFieldDisplayContexts() as fieldDisplayContext> 
56                                                <#if separate>&#183;</#if> 
57                                                <span class="badge">${fieldDisplayContext.getName()}</span> 
58                                                <span>${fieldDisplayContext.getValuesToString()}</span> 
59                                                <#assign separate = true> 
60                                            </#list> 
61                                        </p> 
62                                    </#if> 
63 
64                                    <#if entry.isDocumentFormVisible()> 
65                                        <div class="expand-details text-default"> 
66                                            <span class="list-group-text text-2"> 
67                                                <a class="shadow-none" href="javascript:void(0);"> 
68                                                    <@liferay.language key="details" />... 
69                                                </a> 
70                                            </span> 
71                                        </div> 
72 
73                                        <div class="hide search-results-list table-details table-responsive"> 
74                                            <table class="table table-sm"> 
75                                                <thead> 
76                                                <tr> 
77                                                    <th class="table-cell-expand-smaller table-cell-text-end"> 
78                                                        <@liferay.language key="key" /> 
79                                                    </th> 
80                                                    <th class="table-cell-expand"> 
81                                                        <@liferay.language key="value" /> 
82                                                    </th> 
83                                                </tr> 
84                                                </thead> 
85                                                <tbody> 
86                                                <#list entry.getDocumentFormFieldDisplayContexts() as fieldDisplayContext> 
87                                                    <tr> 
88                                                        <td class="table-cell-expand-smaller table-cell-text-end table-details-content"> 
89                                                            <strong>${htmlUtil.escape(fieldDisplayContext.getName())}</strong> 
90                                                        </td> 
91                                                        <td class="table-cell-expand table-details-content"> 
92                                                            <code>${fieldDisplayContext.getValuesToString()}</code> 
93                                                        </td> 
94                                                    </tr> 
95                                                </#list> 
96                                                </tbody> 
97                                            </table> 
98                                        </div> 
99                                    </#if> 
100 
101                                    <#assign assetEntry = (entry?exists && entry.getClassName()?length > 0 && entry.getClassPK()?string?length > 0) 
102                                    ? assetEntryLocalService.getEntry(entry.getClassName(), entry.getClassPK()) 
103                                    : null 
104
105 
106                                    <#assign assetCategories = (assetEntry?exists) 
107                                    ? assetEntry.getCategories() 
108                                    : [] 
109
110 
111                                    <#assign displayDate = (entry?exists && entry.getPublishedDateString()?length >= 10) 
112                                    ? entry.getPublishedDateString()?substring(0, 10) 
113                                    : "" 
114
115 
116                                    <#assign showDate = false> 
117                                    <#assign hasCategory = false> 
118 
119                                    <#list assetCategories as category> 
120                                        <#assign categoryName = category.getTitle(locale)> 
121                                        <#if categoryName == "Hír" || categoryName == "DirektNet hír" || categoryName == "Sajtóközlemény" || categoryName == "Bank közzététel" || categoryName == "Alapkezelő közzététel" || categoryName == "Karbantartás"> 
122                                            <#assign showDate = true> 
123                                        </#if> 
124                                        <#assign hasCategory = true> 
125                                    </#list> 
126 
127                                    <#if hasCategory || showDate> 
128                                        <p class="list-group-subtext" style="margin-top:10px;"> 
129                                            <#if hasCategory> 
130                                                <#list assetCategories as category> 
131                                                    <span class="subtext-item">${category.getTitle(locale)}</span> 
132                                                </#list> 
133                                            </#if> 
134                                            <#if showDate> 
135                                                <#if hasCategory> 
136                                                    <span class="subtext-item">/</span> 
137                                                </#if> 
138                                                <span class="subtext-item">${displayDate}</span> 
139                                            </#if> 
140                                        </p> 
141                                    </#if> 
142 
143                                </div> 
144                            </section> 
145                        </div> 
146                    </li> 
147                </a> 
148            </#list> 
149        </#if> 
150    </ul> 
151</div> 
152 
153<style> 
154    .rbhu-search-container { 
155        display: flex; 
156        justify-content: center; 
157        width: 100%; 
158        padding: 0 32px; 
159
160 
161    #main-content .portlet-search-results, 
162    .rbhu-search-container > div { 
163        padding: 0 !important; 
164
165 
166    .rbhu-search-container .search-total-label { 
167        text-align: center; 
168
169 
170    .rbhu-search-container h1 { 
171        font-size: 48px !important; 
172        margin: 36px 0 0 !important; 
173
174 
175    .lfr-layout-structure-item-com-liferay-portal-search-web-search-bar-portlet-searchbarportlet { 
176        margin: 48px !important; 
177
178 
179    @media (max-width: 1000px) { 
180        .rbhu-search-container h1 { 
181            margin: 32px 0 16px !important 
182
183 
184        .search-total-label { 
185            margin-top: 16px !important; 
186
187 
188        .lfr-layout-structure-item-com-liferay-portal-search-web-search-bar-portlet-searchbarportlet { 
189            margin: 16px !important; 
190            height: 38px !important; 
191            padding: 0 20px; 
192
193
194 
195    @media (max-width: 480px) { 
196        .rbhu-search-container { 
197            padding: 0 16px; 
198
199
200</style> 

Rendezés