An error occurred while processing the template.
The following has evaluated to null or missing: ==> liferay_ui["asset-links"] [in template "9983378" at line 16, column 19] ---- Tip: It's the final [] step that caused this error, not those before it. ---- 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: @liferay_ui["asset-links"] assetEntry... [in template "9983378" in macro "getRelatedAssets" at line 16, column 17] - Reached through: @getRelatedAssets [in template "9983378" at line 11, column 53] - Reached through: #include "${templatesPath}/9983378" [in template "10108#260730#10182413" at line 59, column 1] ----
1<#--
2Application display 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
9<style type="text/css">
10 .custom-print .taglib-text.hide-accessible{
11 display: contents !important;
12 }
13
14</style>
15
16<#include "${templatesPath}/9983384" />
17
18<#if (parameter?has_content)>
19 <#include "${templatesPath}/9983372" />
20 <#assign document = saxReaderUtil.read(article.getContent())
21 rootElement = document.getRootElement()
22 />
23
24 <#list rootElement.elements() as dynamicElement>
25 <#if "Name" == dynamicElement.attributeValue("name")>
26 <#assign updatedArticleName = dynamicElement.element("dynamic-content").getText() + " - RSPCA" />
27 ${renderRequest.setAttribute("LIFERAY_SHARED_ogTitle", updatedArticleName )}
28 </#if>
29 <#if "ShortDescription" == dynamicElement.attributeValue("name")>
30 <#assign articleSummary = dynamicElement.element("dynamic-content").getText() />
31 ${renderRequest.setAttribute("LIFERAY_SHARED_ogDescription", articleSummary )}
32 </#if>
33 <#if "OGImage" == dynamicElement.attributeValue("name")>
34 <#assign articleOgImage = dynamicElement.element("dynamic-content").getText() />
35 </#if>
36 <#if "AssociatedImage" == dynamicElement.attributeValue("name")>
37 <#assign articleAssociatedImage = dynamicElement.element("dynamic-content").getText() />
38 </#if>
39 </#list>
40 <#if validator.isNull(articleOgImage) && validator.isNotNull(articleAssociatedImage)>
41 <#assign articleOgImage = articleAssociatedImage />
42 </#if>
43 <#assign ogImageUrl = portalUtil.getPortalURL(renderRequest) + articleOgImage />
44 ${renderRequest.setAttribute("LIFERAY_SHARED_article-thumbnailurl", ogImageUrl )}
45 ${renderRequest.setAttribute("LIFERAY_SHARED_articleThumbnailUrl", ogImageUrl )}
46
47 <div class="standard-item">
48
49 <@liferay_journal["journal-article"]
50 articleId=article.getArticleId()
51 ddmTemplateKey="STANDARD-WEB-CONTENT-TEMPLATE"
52 groupId=article.getGroupId()
53 />
54 </div>
55<#else>
56 <div class="empty">Sorry we couldn't find your requested content.</div>
57</#if>
58
59<#include "${templatesPath}/9983378" />