Mapas y folletos
Bizkaia solo hay una pero es poliédrica. En esta sección encontrarás toda la información de utilidad para disfrutar lo que más te apetezca. ¡Descúbrenos!
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> localeCategoryId [in template "1369164#1369202#12992672" at line 65, 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: #if localeCategoryId == categoryIdiom... [in template "1369164#1369202#12992672" at line 65, column 33] ----
1<#assign
2
3 assetVocabularyLocalService = objectUtil('com.liferay.asset.kernel.service.AssetVocabularyLocalServiceUtil')
4
5 assetCategoryLocalService = serviceLocator.findService('com.liferay.asset.kernel.service.AssetCategoryLocalService')
6 assetCategoryPropertyLocalService = serviceLocator.findService('com.liferay.asset.kernel.service.AssetCategoryPropertyLocalService')
7/>
8
9<#-- VARIABLES -->
10<#assign
11 assetVocabulary = assetVocabularyLocalService.getGroupVocabulary(groupId, 'Mapas y folletos')
12 vocabularyId = assetVocabulary.getVocabularyId()
13 CategoriesList = assetCategoryLocalService.getVocabularyCategories(vocabularyId, -1, -1, null)
14/>
15<#assign
16 assetVocabulary = assetVocabularyLocalService.getGroupVocabulary(groupId, 'Idiomas de contenidos de portal')
17 vocabularyId = assetVocabulary.getVocabularyId()
18 idiomasCategoryList = assetCategoryLocalService.getVocabularyCategories(vocabularyId, -1, -1, null)
19/>
20<#list idiomasCategoryList as idiomaCategory>
21 <#attempt>
22 <#if (locale == assetCategoryPropertyLocalService.getCategoryProperty(idiomaCategory.getCategoryId(),'locale').value) >
23 <#assign localeCategoryId = idiomaCategory.getCategoryId() />
24 </#if>
25 <#recover>
26 </#attempt>
27</#list>
28
29
30<#if entries?has_content>
31 <div class="tur-titular">
32 <div class="container">
33 <div class="row">
34 <div class="col-xxs-12 col-xxs-offset-0 col-xs-12 col-xs-offset-0 col-sm-12 col-sm-offset-0 col-md-10 col-md-offset-1">
35 <#assign categories = entry.getCategories() />
36 <#list categories as category>
37 <#list CategoriesList as CategoryList>
38 <#attempt>
39 <#if CategoryList.getCategoryId()==category.getCategoryId()>
40 <#if !(category.getParentCategory()??)>
41 <h2>${category.getTitle(locale)}</h2>
42 </#if>
43 </#if>
44 <#assign CategoryId = category.getCategoryId() />
45 <#recover>
46 </#attempt>
47 </#list>
48 </#list>
49 </div>
50 </div>
51 </div>
52 </div>
53</#if>
54<div class="container-fluid bgcolor-gray">
55 <div class="col-xs-12 col-xs-offset-0 col-sm-12 col-sm-offset-0 col-md-10 col-md-offset-1">
56 <div class="row tur_listarpdf">
57
58 <#if entries?has_content>
59 <div class="py-5">
60 <ul>
61 <#list entries as entry>
62 <#assign hayLocale = false />
63 <#assign categories = entry.getCategories() />
64 <#list categories as categoryIdioma>
65 <#if localeCategoryId==categoryIdioma.getCategoryId()>
66 <#assign hayLocale = true />
67 <#break>
68 </#if>
69 </#list>
70 <#if hayLocale>
71 <#assign
72 assetRenderer = entry.getAssetRenderer()
73 journalArticle = assetRenderer.getAssetObject()
74 />
75 <li>
76 <@liferay_journal["journal-article"]
77 articleId=journalArticle.getArticleId()
78 ddmTemplateKey="12992663"
79 groupId=journalArticle.getGroupId()
80 />
81 </li>
82 </#if>
83 </#list>
84 </ul>
85 </div>
86 </#if>
87
88 </div>
89 </div>
90</div>