##
## Velocity Transform Template
##
#set($secondaryHeadlinePresentClass = "")
#if ($KopftextZeile2.getData() != "")
#set($secondaryHeadlinePresentClass = "secondary-headline-present")
#end
##
## Velocity Transform Template
##
#set($secondaryHeadlinePresentClass = "")
#if ($KopftextZeile2.getData() != "")
#set($secondaryHeadlinePresentClass = "secondary-headline-present")
#end
##
## Velocity Transform Template
##
#set($secondaryHeadlinePresentClass = "")
#if ($KopftextZeile2.getData() != "")
#set($secondaryHeadlinePresentClass = "secondary-headline-present")
#end
Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing:
==> end [in template "10132#10165#3536303" at line 9, column 70]
----
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: #{end} [in template "10132#10165#3536303" at line 9, column 68]
----
1#set ($noText = true)
2#foreach ($thema in $ThemaGrafik.getSiblings())
3 #if("$!thema.getChildren().get(1).getData()" != "")
4 #set ($noText = false)
5 #break
6 #end
7#end
8
9<div class="interactive-stage-responsive#if($noText) bx-controls-on#{end}">
10 <ul class="bxslider" id="slider-$randomNamespace">
11 #foreach ($thema in $ThemaGrafik.getSiblings())
12 <li>
13 #if ($thema.getChildren().get(3).getData() != "")
14 <a href="$thema.getChildren().get(3).getData()">
15 #end
16 #if ($thema.getChildren().get(2).getData() != "")
17 <img class="hidden-phone" src="$thema.getData()">
18 <img class="visible-phone" src="$thema.getChildren().get(2).getData()">
19 #else
20 <img src="$thema.getData()">
21 #end
22 #if ($thema.getChildren().get(3).getData() != "")
23 </a>
24 #end
25 </li>
26 #end
27 </ul>
28 #if(!$noText)
29 <div class="bx-custom-pager">
30
31 #foreach ($thema in $ThemaGrafik.getSiblings())
32
33 ## Compute slide index here because velocity is being configured 1-based but 0-based is needed
34 #set ($currentSlideIndex = $velocityCount - 1)
35 <a data-slide-index="$currentSlideIndex" href=""><span>$thema.getChildren().get(1).getData()</span></a>
36 #end
37 </div>
38 #end
39 <script>
40
41 ## für weitere Optionen siehe http://bxslider.com/options
42 $('#slider-$randomNamespace').bxSlider({
43 auto: #if($noText) false #else true#end, // automatisches durchsliden einschalten
44 speed: 300, ## Zeit, die für einen Wechsel der Slides benötigt wird (in ms)
45 pause: 7000, ## Zeit zwischen dem autom. Wechsel der Slides (in ms)
46 pagerCustom: '.bx-custom-pager', ## eigenen Pager verwenden
47 captions: true, ## Bildunterschrift zu jeder Slide
48 mode: 'fade', ## Modus für das Umschalten (fade = Überblenden)
49 slideZIndex: 0, ## Z-indes für die Bilder
50 adaptiveHeight: true, ## Dynamically adjust slider height based on each slide's height
51 onSlideAfter: function() { ## Fix: Nach Umschalten einer Slide stoppt das automatische durchsliden (Quelle: https://github.com/stevenwanderski/bxslider-3/issues/99)
52 $('.bx-start').trigger('click');
53 },
54 autoControls: true ## wird für o.g. Fix benötigt
55 });
56 </script>
57</div>



