Fehler bei der Verarbeitung der Vorlage.
Template importing failed (for parameter value "/lubw-theme_SERVLET_CONTEXT_/templates/shared/xd_asset_categories_filter.ftl"): Unable to find FreeMarker template with ID lubw-theme_SERVLET_CONTEXT_/templates/shared/xd_asset_categories_filter.ftl ---- FTL stack trace ("~" means nesting-related): - Failed at: #import "/lubw-theme_SERVLET_CONTEXT_... [in template "10157#10197#666274" at line 1, column 1] ----
1<#import "/lubw-theme_SERVLET_CONTEXT_/templates/shared/xd_asset_categories_filter.ftl" as f>
2
3<#-- vocIdMainCategoryIdMap is for special configuration e.g. we want only subtopic of Abfall in select box and not all main topics -->
4<#-- first ID in map is for the the vocabulary we want sub categories from -->
5<#-- second ID in map is for the parent category. all child categories will be displayed in select box -->
6
7<#-- configuration -->
8<#global vocIdMainCategoryIdMap = { }> <#-- e.g. { "41717":"53401", "1":"2" }> -->
9<#global vocIdNameMap = { }> <#-- e.g. { "32820":"Thema3" } -->
10<#-- end configuration -->
11
12<@f.initFilter/>
13
14<div class="journal-content-article">
15
16 <h1>Pressemitteilungen</h1>
17
18 <#if (entries?has_content)>
19
20 <div class="row">
21
22 <#list entries as curVocabulary>
23
24 <#assign vocId=curVocabulary.getVocabularyId()/>
25
26 <@f.loadCategoriesAndSetVocName curVocabulary/>
27
28 <div class="col-md-4">
29
30 <label for="vocid-${vocId}-f.portletNamespace">${f.vocName}:</label>
31
32 <select id="vocid-${vocId}-f.portletNamespace" class="form-control" onChange='${f.portletNamespace}selectCategory(value)'>
33
34 <@f.generateAllEntry vocId/>
35
36 <@f.createSortableCategories f.categories/> <#-- creates var sortableCategories -->
37
38 <#if getterUtil.getLong(vocId)==45062>
39 <#assign sortableCategories=f.sortableCategories?sort_by("Name")?reverse in f/>
40 </#if>
41
42 <#-- generate URLs for all entries in select box -->
43 <#list f.sortableCategories as curCategory>
44
45 <@f.generateEntryLink vocId curCategory/>
46
47 <option value="${f.entryUrl}" ${f.selectedAttr}>
48 ${curCategory.Name}
49 </option>
50
51 </#list> <#-- categories as curCategory -->
52
53 </select>
54
55 </div> <#--col-md-4 -->
56
57 </#list> <#-- entries as curVocabulary -->
58
59 </div> <#-- row -->
60
61 </#if> <#-- entries?has_content -->
62
63</div> <#-- journal-content-article -->
64
65<@f.initJavaScript/>
null Klimawandel: Temperaturen beeinflussen Sauerstoffgehalt im Bodensee
Fehler bei der Verarbeitung der Vorlage.
Template importing failed (for parameter value "/lubw-theme_SERVLET_CONTEXT_/templates/shared/xd_metadata.ftl"): Unable to find FreeMarker template with ID lubw-theme_SERVLET_CONTEXT_/templates/shared/xd_metadata.ftl ---- FTL stack trace ("~" means nesting-related): - Failed at: #import "/lubw-theme_SERVLET_CONTEXT_... [in template "10157#10197#213920" at line 1, column 1] ----
1<#import "/lubw-theme_SERVLET_CONTEXT_/templates/shared/xd_metadata.ftl" as m>
2
3<style>
4
5 .pressemitteilung-ausblenden
6 {
7 display:none;
8 }
9
10
11 .pressemitteilung figure
12 {
13 margin-top:0px;
14 margin-left:0px;
15 margin-bottom:0px;
16 margin-right:10px;
17 float:left;
18 max-width:300px;
19 }
20
21 .pressemitteilung figcaption
22 {
23 padding-top:5px;
24 padding-bottom:5px;
25 }
26
27 .pressemitteilung .bild
28 {
29 float:left;
30 max-width:300px;
31 margin-right:10px;
32 }
33
34
35 .pressemitteilung .rueckfragen-titel
36 {
37 margin-top:20px;
38 font-weight:bold;
39 }
40</style>
41
42
43<div class="pressemitteilung">
44
45 <!--<h1>${.vars['reserved-article-title'].data}</h1>-->
46
47 <#setting locale = localeUtil.getDefault()>
48 <#assign pubDate = .vars['reserved-article-display-date'].data>
49 <#assign pubDate = pubDate?datetime("EEE, d MMM yyyy HH:mm:ss Z")>
50 <#assign pubDate = pubDate?string("dd.MM.yyyy")>
51
52
53
54 <h3>${Untertitel.getData()}</h3>
55
56
57 <#if Bild.getData()?has_content>
58 <a href="${Bild.getData()}" target="_blank" class="no-icon" style="display:inline;">
59 <@showBild bild=Bild/>
60 </a>
61 </#if>
62
63
64 <div class="datum"><img src="/documents/10184/206694/presseloewe.gif/16dbfffb-80ff-44b2-a64a-5c33820a1a7d" alt="" title="Löwe">
65 <b>${pubDate}</b></div>
66
67 <div class="inhalt">
68 ${Inhalt.getData()}
69 </div>
70
71
72 <div class="rueckfragen-titel">Rückfragen</div>
73
74 <div class="rueckfragen">
75
76 ${Rueckfragen.getData()}
77 </div>
78
79</div>
80
81
82
83
84
85<#macro showBild bild>
86
87 <#if bild.getData()?has_content>
88
89 <#assign bildunterschrift=""/>
90 <#assign altTag=""/>
91
92 <#if Bildunterschrift??>
93 <#assign bildunterschrift=Bildunterschrift.getData()/>
94 <#assign altTag=bildunterschrift/>
95 </#if>
96
97 <#if (BildunterschriftAutomatisch??) && getterUtil.getBoolean(BildunterschriftAutomatisch.getData())>
98
99 <#assign metadataMap = m.getMetadataForBild(bild)/>
100 <#assign altTag=m.showMetadata(metadataMap,"alttag") />
101 <#assign bildnachweis=m.showMetadata(metadataMap,"copyright") />
102 <#assign bildunterschrift=altTag/>
103
104 </#if>
105
106
107 <figure>
108 <#if KleinesBild?? && KleinesBild.getData()?has_content>
109 <img src="${KleinesBild.getData()}" alt="${altTag}"/>
110 <#else>
111 <img src="${bild.getData()}" alt="${altTag}"/>
112 </#if>
113
114 <#if bildunterschrift?has_content>
115 <figcaption>${bildunterschrift}</figcaption>
116 </#if>
117 </figure>
118
119 </#if>
120
121</#macro>
Bildnachweis: