Procurar no site

Destaque

Um erro ocorreu enquanto processava o modelo.
When calling macro "spotlightCard", required parameter "entry" (parameter #1) was specified, but had null/missing value.

----
Tip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the "!" operator, like paramValue!defaultValue.
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #macro spotlightCard entry groupFrien...  [in template "UTILS-TEMPLATE" in macro "spotlightCard" at line 298, column 1]
	- Reached through: @utils.spotlightCard entries[0], grou...  [in template "24182437698220#20120#33972" at line 18, column 13]
----
1<#assign _groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService") /> 
2<#assign groupFriendlyURL = _groupLocalService.getGroup(themeDisplay.getSiteGroupId()).getFriendlyURL() /> 
3<#assign vocabularyService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 
4<#assign  
5  groupId = request.getParameterNames()?sequence?seq_contains("groupId")?string(paramUtil.getString(request, "groupId"), scopeGroupId) 
6/> 
7<#assign templatePath> 
8    _TEMPLATE_CONTEXT_/${themeDisplay.getCompanyId()}/${groupId}/${serviceLocator 
9    .findService("com.liferay.portal.kernel.service.ClassNameLocalService") 
10    .getClassNameId("com.liferay.portal.kernel.theme.NavItem")} 
11</#assign> 
12<#import  "${templatePath}/UTILS-TEMPLATE" as utils /> 
13 
14<div class="highlight-events-container  d-none d-md-block mt-4 sync-height"> 
15    <div class="row align-items-stretch"> 
16        <!-- Highlighted Event in left column--> 
17        <div class="col-12 col-md-7 position-relative"> 
18            <@utils.spotlightCard entries[0] groupFriendlyURL "eventStartDate" /> 
19        </div> 
20 
21        <!-- List of items on the right --> 
22		<div class="col-12 col-md-5 position-relative"> 
23            <@utils.spotlightCard entries[1] groupFriendlyURL "eventStartDate" /> 
24        </div> 
25	</div> 
26</div> 
27 
28<!-- Mobile Section --> 
29<div class="highlight-events-container swiper-banner-container position-relative mt-3 d-block d-md-none"> 
30    <!-- Swiper Container --> 
31    <div class="swiper-container custom-swiper-container overflow-hidden w-100"> 
32        <div class="swiper-wrapper"> 
33            <#if entries?has_content> 
34                <#list entries as assetEntry> 
35					<div class="swiper-slide"> 
36						<@utils.spotlightCard assetEntry groupFriendlyURL "eventStartDate" /> 
37					</div> 
38                </#list> 
39            </#if> 
40        </div> 
41        <!-- Pagination --> 
42        <div class="swiper-pagination position-relative text-align-center mt-4"></div> 
43    </div> 
44</div> 
45 
46<style> 
47.spotlight-card .tag-badge { 
48	background-color: var(--color-state-info); 
49	color: var(--color-neutral-1); 
50
51</style> 
52 
53<script>  
54    (async function () { 
55        const Global = await import("Global"); 
56        const swiper = new Global.Swiper('.custom-swiper-container', { 
57            slidesPerView: 1, 
58            spaceBetween: 16, 
59            loop: true, 
60            pagination: { 
61                el: '.swiper-pagination', 
62                clickable: true, 
63            }, 
64			autoHeight: false, 
65        }); 
66  })(); 
67</script> 

Últimos Eventos

Nenhum Resultado Encontrado