Category Facet

An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator  [in template "86161#86202#425083" at line 1, column 38]

----
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: #assign AssetCategoryLocalService = s...  [in template "86161#86202#425083" at line 1, column 1]
----
1<#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
2	 
3<#if entries?has_content>	 
4  <div class="marist-form-style top-buffer news-filter-form" id="${randomNamespace}"> 
5	  <div class="row"> 
6		  <div class="col"> 
7				<h2 class="decorated"><span>Feed Types</span></h2> 
8				<ul class="list-unstyled"> 
9					<#list entries?sort_by("displayName") as entry> 
10						  <#assign asset_category = AssetCategoryLocalService.getAssetCategory(getterUtil.getLong(entry.getAssetCategoryId()))> 
11              <#if asset_category.getVocabularyId() == 93883> 
12							<li class="facet-value"> 
13								<div class="custom-checkbox custom-control"> 
14									<label class="facet-checkbox-label"> 
15										<input class="custom-control-input facet-term" 
16													 disabled  
17													 data-term-id="${entry.getAssetCategoryId()}" 
18													 onchange="Liferay.Search.FacetUtil.changeSelection(event);" 
19													 type="checkbox" 
20													 ${(entry.isSelected())?then('checked', '')}/> 
21										<span class="custom-control-label term-name"> 
22											<span class="custom-control-label-text"> 
23												${htmlUtil.escape(entry.getDisplayName())} 
24												<#if entry.isFrequencyVisible()> 
25													<small class="term-count"> 
26														(${entry.getFrequency()}) 
27													</small> 
28													</#if> 
29											</span> 
30										</span> 
31									</label> 
32								</div> 
33							</li> 
34						  </#if>	 
35					</#list> 
36				</ul> 
37      </div> 
38    </div> 
39    <#if !assetCategoriesSearchFacetDisplayContext.isNothingSelected()> 
40        <div class="row"> 
41            <div class="col"> 
42                <button 
43                    class="btn btn-light btn-sm ml-1 facet-term term-name" 
44                    disabled 
45                    onClick="Liferay.Search.FacetUtil.clearSelections(event);" 
46                    type="button" 
47
48                 <@liferay_aui.icon 
49                     cssClass="mr-1" 
50                     image="times" 
51                     markupView="lexicon" 
52                     value="clear" 
53                 /> 
54                    Clear filter 
55                </button> 
56            </div> 
57        </div> 
58    </#if> 
59    </div> 
60</#if> 

Category Facet

An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator  [in template "86161#86202#425091" at line 1, column 38]

----
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: #assign AssetCategoryLocalService = s...  [in template "86161#86202#425091" at line 1, column 1]
----
1<#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
2	 
3<#if entries?has_content>	 
4  <div class="marist-form-style top-buffer news-filter-form" id="${randomNamespace}"> 
5	  <div class="row"> 
6		  <div class="col"> 
7				<h2 class="decorated"><span>Categories</span></h2> 
8				<ul class="list-unstyled"> 
9					<#list entries?sort_by("displayName") as entry> 
10						  <#assign asset_category = AssetCategoryLocalService.getAssetCategory(getterUtil.getLong(entry.getAssetCategoryId()))> 
11              <#if asset_category.getVocabularyId() == 93420> 
12							<li class="facet-value"> 
13								<div class="custom-checkbox custom-control"> 
14									<label class="facet-checkbox-label"> 
15										<input class="custom-control-input facet-term" 
16													 disabled  
17													 data-term-id="${entry.getAssetCategoryId()}" 
18													 onchange="Liferay.Search.FacetUtil.changeSelection(event);" 
19													 type="checkbox" 
20													 ${(entry.isSelected())?then('checked', '')}/> 
21										<span class="custom-control-label term-name"> 
22											<span class="custom-control-label-text"> 
23												${htmlUtil.escape(entry.getDisplayName())} 
24												<#if entry.isFrequencyVisible()> 
25													<small class="term-count"> 
26														(${entry.getFrequency()}) 
27													</small> 
28													</#if> 
29											</span> 
30										</span> 
31									</label> 
32								</div> 
33							</li> 
34						  </#if>	 
35					</#list> 
36				</ul> 
37      </div> 
38    </div> 
39    <#if !assetCategoriesSearchFacetDisplayContext.isNothingSelected()> 
40        <div class="row"> 
41            <div class="col"> 
42                <button 
43                    class="btn btn-light btn-sm ml-1 facet-term term-name" 
44                    disabled 
45                    onClick="Liferay.Search.FacetUtil.clearSelections(event);" 
46                    type="button" 
47
48                 <@liferay_aui.icon 
49                     cssClass="mr-1" 
50                     image="times" 
51                     markupView="lexicon" 
52                     value="clear" 
53                 /> 
54                    Clear filter 
55                </button> 
56            </div> 
57        </div> 
58    </#if> 
59    </div> 
60</#if> 

Category Facet

An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator  [in template "86161#86202#425095" at line 1, column 38]

----
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: #assign AssetCategoryLocalService = s...  [in template "86161#86202#425095" at line 1, column 1]
----
1<#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
2	 
3<#if entries?has_content>	 
4  <div class="marist-form-style top-buffer news-filter-form" id="${randomNamespace}"> 
5	  <div class="row"> 
6		  <div class="col"> 
7				<h2 class="decorated"><span>Year</span></h2> 
8				<ul class="list-unstyled"> 
9					<#list entries?sort_by("displayName")?reverse as entry> 
10						  <#assign asset_category = AssetCategoryLocalService.getAssetCategory(getterUtil.getLong(entry.getAssetCategoryId()))> 
11              <#if asset_category.getVocabularyId() == 93890> 
12							<li class="facet-value"> 
13								<div class="custom-checkbox custom-control"> 
14									<label class="facet-checkbox-label"> 
15										<input class="custom-control-input facet-term" 
16													 disabled  
17													 data-term-id="${entry.getAssetCategoryId()}" 
18													 onchange="Liferay.Search.FacetUtil.changeSelection(event);" 
19													 type="checkbox" 
20													 ${(entry.isSelected())?then('checked', '')}/> 
21										<span class="custom-control-label term-name"> 
22											<span class="custom-control-label-text"> 
23												${htmlUtil.escape(entry.getDisplayName())} 
24												<#if entry.isFrequencyVisible()> 
25													<small class="term-count"> 
26														(${entry.getFrequency()}) 
27													</small> 
28													</#if> 
29											</span> 
30										</span> 
31									</label> 
32								</div> 
33							</li> 
34						  </#if>	 
35					</#list> 
36				</ul> 
37      </div> 
38    </div> 
39    <#if !assetCategoriesSearchFacetDisplayContext.isNothingSelected()> 
40        <div class="row"> 
41            <div class="col"> 
42                <button 
43                    class="btn btn-light btn-sm ml-1 facet-term term-name" 
44                    disabled 
45                    onClick="Liferay.Search.FacetUtil.clearSelections(event);" 
46                    type="button" 
47
48                 <@liferay_aui.icon 
49                     cssClass="mr-1" 
50                     image="times" 
51                     markupView="lexicon" 
52                     value="clear" 
53                 /> 
54                    Clear filter 
55                </button> 
56            </div> 
57        </div> 
58    </#if> 
59    </div> 
60</#if> 

Sort

SORT BY

Search Results

An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator  [in template "86161#86202#96561" at line 8, column 35]

----
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: #assign assetEntryLocalService = serv...  [in template "86161#86202#96561" at line 8, column 1]
----
1<#-- 
2Widget templates can be used to modify the look of a 
3specific application. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
9 
10<div id="news-archive-listing" class="container news-feed-list"> 
11<div class="row"> 
12	<div class="col-lg ml-4"> 
13		<h1 class="decorated"><span>Marist News</span></h1> 
14	</div>	 
15</div>		 
16		<#if entries?has_content> 
17					<#list entries as entry> 
18							<#assign  
19									assetEntry = assetEntryLocalService.getEntry(entry.getClassName(), entry.getClassPK()) 
20									assetRenderer = assetEntry.getAssetRenderer() 
21									journalArticle = assetRenderer.getAssetObject() 
22							/> 
23							<div class="col-lg ml-3"> 
24							  <article class="news-article row"> 
25							    <@liferay_journal["journal-article"] 
26									    articleId=journalArticle.getArticleId() 
27									    ddmTemplateKey="70501" 
28									    groupId=journalArticle.getGroupId() 
29							    /> 
30								</article> 
31							</div>									 
32					</#list> 
33		</#if> 
34</div> 
35<style>	 
36 
37.decorated > span:after { 
38    margin: 20px 25px; 
39
40	.pagination-bar { 
41		padding: 24px 0 0 24px; 
42
43	 
44	.pagination-bar > .pagination > .page-item:last-child > .page-link { 
45		margin-right: 0; 
46
47	 
48.pagination-items-per-page > a, .pagination-items-per-page > button { 
49		color: #006e7a; 
50	}	 
51	 
52.page-item.active .page-link { 
53    background-color: #006e7a; 
54    border-color: #006e7a; 
55    color: #fff; 
56    cursor: default; 
57    z-index: 3; 
58
59	 
60.pagination-items-per-page > a:hover, .pagination-items-per-page > button:hover { 
61    color: #006e7a; 
62}	 
63.page-link:hover { 
64    color: #006e7a; 
65
66 
67.pagination a { 
68	color: #006e7a; 
69}	 
70	 
71</style>