Búsqueda
Canal de denuncias
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> parentUrl [in template "20096#20121#772521" at line 48, column 60] ---- 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: ${parentUrl} [in template "20096#20121#772521" at line 48, column 58] ----
1<#--
2Add elements from the sidebar to define your template. Type "${" to use the
3autocomplete feature.
4-->
5
6<#assign catTematica="">
7<#assign cont=0>
8<#assign LayoutLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.LayoutLocalServiceUtil"] />
9<#assign LocaleUtil = staticUtil["com.liferay.portal.kernel.util.LocaleUtil"]>
10<#assign AssetEntryLocalServiceUtil=staticUtil["com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil"] />
11<#assign journalArticleClassName="com.liferay.journal.model.JournalArticle" />
12<#assign JournalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
13<#assign AssetCategoryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"] />
14<#assign articleId=.vars['reserved-article-id'].data />
15<#assign journalArticle=JournalArticleLocalService.fetchArticle(groupId, articleId?string) />
16<#assign assetEntry=AssetEntryLocalServiceUtil.getEntry(journalArticleClassName, journalArticle.getResourcePrimKey()?number) />
17<#assign categories = AssetCategoryLocalServiceUtil.getCategories(assetEntry.getClassName(),assetEntry.getClassPK())>
18<#assign layoutsGeneral=LayoutLocalServiceUtil.getLayouts(groupId,false)>
19
20 <div class="d-none d-md-block">
21 <ol class="m-0 pl-0 bg-slm-blanco breadcrumb custom-breadcrumb">
22 <li class="breadcrumb-item d-flex align-items-center">
23 <span class="">
24 <a class="breadcrumb-link d-flex" href="/">
25 <img class="mb-1" src="${themeDisplay.getPathThemeImages()}/salamanca/icons/home-blue.svg" alt="Icono Home">
26 </a>
27 </span>
28 </li>
29 <#list categories as catAsset>
30 <#if cont==0>
31 <#list layoutsGeneral as layoutG>
32 <#assign assetEntry=AssetEntryLocalServiceUtil.getEntry(groupId,layoutG.getUuid())>
33 <#assign categories = AssetCategoryLocalServiceUtil.getCategories(assetEntry.getClassName(),assetEntry.getClassPK())>
34 <#list categories as cat>
35 <#if cat.getCategoryId()?number==catAsset.getCategoryId()?number>
36 <#assign layoutOrigen=layoutG>
37 <#assign nombreDestino=layoutOrigen.getName(locale)>
38 <#assign destino=layoutOrigen.getFriendlyURL()>
39 <#assign parentLayoutPlid=layoutOrigen.getParentPlid()>
40 <#assign parentLayout=LayoutLocalServiceUtil.getLayout(parentLayoutPlid)>
41 <#assign parentUrl=parentLayout.getFriendlyURL()>
42 <#assign parentNombre=parentLayout.getName(locale)>
43 </#if>
44 </#list>
45 </#list>
46 <li class="breadcrumb-item">
47 <span class="">
48 <a class="breadcrumb-link" href="${parentUrl}">
49 ${parentNombre}
50 </a>
51 </span>
52 </li>
53 <li class="breadcrumb-item">
54 <span class="">
55 <a class="breadcrumb-link" href="${destino}">
56 ${nombreDestino}
57 </a>
58 </span>
59 </li>
60 <#else>
61 <#list layoutsGeneral as layoutG>
62 <#assign assetEntry=AssetEntryLocalServiceUtil.getEntry(groupId,layoutG.getUuid())>
63 <#assign categories = AssetCategoryLocalServiceUtil.getCategories(assetEntry.getClassName(),assetEntry.getClassPK())>
64 <#list categories as cat>
65 <#if cat.getCategoryId()?number==catAsset.getCategoryId()?number>
66 <#assign layoutOrigen=layoutG>
67 <#assign nombreDestino=layoutOrigen.getName(locale)>
68 <#assign destino=layoutOrigen.getFriendlyURL()>
69 <li class="breadcrumb-item">
70 <span class="">
71 <a class="breadcrumb-link" href="${destino}">
72 ${nombreDestino}
73 </a>
74 </span>
75 </li>
76 </#if>
77 </#list>
78 </#list>
79
80 </#if>
81 <#assign cont++>
82
83 </#list>
84 <li class="breadcrumb-item">
85 <span class="active">
86 ${journalArticle.getTitle(locale)}
87 </span>
88 </li>
89 </ol>
90</div>