Breadcrumbnavigation

Fehler bei der Verarbeitung der Vorlage.
Template inclusion failed (for parameter value "_TEMPLATE_CONTEXT_/20116/209745/28436/NEWS_ARTICLE_DETAIL_RICH_SNIPPET"):
Unable to find FreeMarker template with ID _TEMPLATE_CONTEXT_/20116/209745/28436/NEWS_ARTICLE_DETAIL_RICH_SNIPPET

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #include "${templatesPath}/NEWS_ARTIC...  [in template "20116#20152#52307" at line 110, column 17]
----
1<#include "${templatesPath}/SOCIAL-SHARE-MACRO" /> 
2<#assign  
3    serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()      
4    themeDisplay = serviceContext.getThemeDisplay()  
5/> 
6<#assign  
7    url = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent()  
8    journalArticleAuthor = .vars['reserved-article-author-name'].data  
9/> 
10 
11<div class="container"> 
12 
13    <div class="row"> 
14 
15        <div class="col-sm-8 col-sm-offset-2"> 
16 
17            <!-- Web Content --> 
18            <article class="webcontent"> 
19                <figure class="webcontent__figure"> 
20 
21                    <#if NewsImage.getAttribute("alt") != ""> 
22                        <#assign alt = NewsImage.getAttribute("alt") /> 
23                    <#else> 
24                        <#assign alt = NewsTitle.getData() />   
25                    </#if>   
26 
27                    <#if NewsImage.getData()?? && NewsImage.getData() != ""> 
28                        <img data-fileentryid="${NewsImage.getAttribute("fileEntryId")}" alt="${alt}" src="${NewsImage.getData()}" class="webcontent__img" /> 
29                    </#if> 
30                </figure> 
31 
32                <div class="webcontent__date"> 
33                    <#assign NewsDate_Data = getterUtil.getString(NewsDate.getData())> 
34                    <#assign displayDate = "" /> 
35 
36                    <#if validator.isNotNull(NewsDate_Data)> 
37                        <#assign NewsDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", NewsDate_Data, locale)> 
38 
39						<#if locale == 'de_DE'> 
40							<#assign dateFormat = "dd.MMMMyyyy" /> 
41						<#else> 
42							<#assign dateFormat = "dd MMMM yyyy" /> 
43						</#if> 
44 
45                        <#assign displayDate = dateUtil.getDate(NewsDate_DateObj, dateFormat, locale) />                  
46                        ${displayDate} 
47                    </#if> 
48                </div> 
49 
50                <h1 class="webcontent__title">${NewsTitle.getData()}</h1> 
51 
52                <div class="webcontent__text"> 
53                    ${NewsBody.getData()} 
54                </div> 
55 
56                <#if NewsDocument?? && NewsDocument.getSiblings()?has_content > 
57 
58                    <#assign dlAppService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService") /> 
59 
60                    <#assign SPACE_KB = 1024 /> 
61                    <#assign SPACE_MB = SPACE_KB?int * 1024 /> 
62                    <#assign SPACE_GB = SPACE_MB?int * 1024 /> 
63                    <#assign SPACE_TB = SPACE_GB?int * 1024 /> 
64 
65                    <div class="file-list"> 
66 
67                       <#list NewsDocument.getSiblings() as file> 
68 
69                           <#if file?? && validator.isNotNull(file.data) > 
70                               <#assign urlSplitted = file.data?split("/") /> 
71                               <#assign indexToken = urlSplitted?size - 1 /> 
72                               <#assign uuid = urlSplitted[indexToken]?split("?")[0] /> 
73                               <#assign dlDocument = dlAppService.getFileEntryByUuidAndGroupId(uuid,groupId) /> 
74                               <#assign dlDocumentSize = dlDocument.size?int /> 
75 
76                               <#if dlDocumentSize lt SPACE_KB> 
77                                   <#assign dlDocumentSize = dlDocumentSize?round?string + " Byte" /> 
78                                   <#elseif dlDocumentSize lt SPACE_MB> 
79                                   <#assign dlDocumentSize = dlDocumentSize / SPACE_KB /> 
80                                   <#assign dlDocumentSize = dlDocumentSize?round?string + " KB" /> 
81                                   <#elseif dlDocumentSize lt SPACE_GB > 
82                                   <#assign dlDocumentSize = dlDocumentSize / SPACE_MB /> 
83                                   <#assign dlDocumentSize = dlDocumentSize?round?string + " MB" /> 
84                               <#elseif dlDocumentSize lt SPACE_TB> 
85                                   <#assign dlDocumentSize = dlDocumentSize / SPACE_GB /> 
86                                   <#assign dlDocumentSize = dlDocumentSize?round?string + " GB" /> 
87                               <#else> 
88                                   <#assign dlDocumentSize = dlDocumentSize / SPACE_TB /> 
89                                   <#assign dlDocumentSize = dlDocumentSize?round?string + " TB" /> 
90                               </#if> 
91 
92                               <div class="file has-icon"> 
93                                   <i class="fa fa-file-pdf-o" aria-hidden="true"></i> 
94                                   <div class="file__name"><a href="${file.data}" title="${dlDocument.getTitle()}" class="file__link" target="_blank">${dlDocument.getTitle()}</a></div> 
95                                   <div class="file__info">(${dlDocument.extension?upper_case} ${dlDocumentSize})</div> 
96                               </div> 
97 
98                           </#if>                        
99 
100                       </#list> 
101                        
102                       <#assign urlImage = themeDisplay.getPortalURL() + NewsImage.getData() /> 
103                       <@shareContent title="${NewsTitle.getData()}" summary="${NewsBody.getData()}" detailURL="${url}" imageURL="${urlImage}"/> 
104 
105                    </div> 
106 
107                </#if> 
108 
109                <#include "${templatesPath}/SLIDER_MASTER" />                 
110                <#include "${templatesPath}/NEWS_ARTICLE_DETAIL_RICH_SNIPPET" /> 
111            </article> 
112 
113        </div> 
114 
115    </div> 
116 
117</div>