axiell-library-instagram

Språk

Englishsuomisvenska
Fel uppstod under bearbetning av mallen.
The following has evaluated to null or missing:
==> username  [in template "118468#118507#171621" at line 115, column 41]

----
Tip: If the failing expression is known to be 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: ${username.getData()}  [in template "118468#118507#171621" at line 115, column 39]
----
1<script> 
2    define._amd = define.amd; 
3    define.amd = false; 
4</script> 
5<link href="//cdn.axiell.com/arena/calendarEvents.css" rel="stylesheet" type="text/css" /> 
6<script src="//cdn.axiell.com/arena/calendarEvents.js" type="text/javascript"></script> 
7<script src="//cdn.axiell.com/arena/moment-with-locales.min.js" type="text/javascript"></script> 
8<script src="//cdn.axiell.com/arena/jquery.linky.js"></script> 
9<script src="//cdn.axiell.com/arena/jquery.matchHeight-min.js"></script> 
10 
11<script> 
12    (function () { 
13        var calendar = new calendarEvents.Calendar( 
14
15                    calendarId: '${calendarId.getData()}', 
16                    apiKey: '${apiKey.getData()}', 
17                    locale: '${locale}', 
18                    municipalities: [ 
19                    <#list municipalityName.getSiblings() as mn> 
20                        {name: "${mn.getData()}", libraries: [ 
21                            <#list mn.getChildren() as firstLibrary> 
22                                <#list firstLibrary.getSiblings() as ln> 
23                                   {name: "${ln.getData()}" 
24                                      <#list ln.getChildren() as firstUrl> 
25                                          <#if firstUrl.getData()!=''> 
26                                              ,url: '${firstUrl.getData()}' 
27                                          </#if> 
28                                      </#list> 
29                                   }<#if ln_has_next>,</#if> 
30                                </#list> 
31                            </#list> 
32                        ]}<#if mn_has_next>,</#if> 
33                    </#list> 
34
35                }, 
36
37                    instanceId: '${instanceId.getData()}', 
38                    <#if isSingleLinePerDayEventFormat.getData()!=''> 
39                       isSingleLinePerDayEventFormat: ${isSingleLinePerDayEventFormat.getData()}, 
40                    <#else> 
41                        isSingleLinePerDayEventFormat: false, 
42                    </#if> 
43                    <#if isShowLocation.getData()!=''> 
44                        isShowLocation: ${isShowLocation.getData()}, 
45                    <#else> 
46                        isShowLocation: false, 
47                    </#if> 
48                    <#if isShowDescription.getData()!=''> 
49                        isShowDescription: ${isShowDescription.getData()}, 
50                    <#else> 
51                        isShowDescription: false, 
52                    </#if> 
53                    <#if isShowShortTimeFormat.getData()!=''> 
54                        isShowShortTimeFormat: ${isShowShortTimeFormat.getData()}, 
55                    <#else> 
56                        isShowShortTimeFormat: false, 
57                    </#if> 
58                    <#if libraryLinkTarget.getData()!=''> 
59                        libraryLinkTarget: '${libraryLinkTarget.getData()}', 
60                    </#if> 
61                    <#if noOfDays.getData()!=''> 
62                        noOfDays: ${noOfDays.getData()}, 
63                    </#if> 
64                    <#if txtNext.getData()!=''> 
65                        txtNext: '${txtNext.getData()}', 
66                    </#if> 
67                    <#if txtPrevious.getData()!=''> 
68                        txtPrevious: '${txtPrevious.getData()}', 
69                    </#if> 
70                    <#if txtBack.getData()!=''> 
71                        txtBack: '${txtBack.getData()}', 
72                    </#if> 
73                    <#if txtClosed.getData()!=''> 
74                        txtClosed: '${txtClosed.getData()}', 
75                    </#if> 
76                    <#if txtShowMore.getData()!=''> 
77                        txtShowMore: '${txtShowMore.getData()}', 
78                    </#if> 
79                    defaultLocale: 'sv_SE' 
80
81        ); 
82        calendar.show(); 
83    })(); 
84</script> 
85<#if calendarId.getData()!=''> 
86<section class="fb-hours"> 
87    <div class="left"> 
88        <div id="${instanceId.getData()}-dynamic-cal-wrapper"> 
89            <div class="dynamic-cal-events"><div class="dynamic-cal-loader"></div></div> 
90            <div class="dynamic-cal-toolbar" style="display:none"> 
91                <button class="dynamic-cal-btn-back">Back</button> 
92                <div class="dynamic-cal-navigation"> 
93                    <button class="dynamic-cal-btn-prev">Previous</button> 
94                    <button class="dynamic-cal-btn-next">Next</button> 
95                </div> 
96            </div> 
97        </div> 
98    </div> 
99<#else> 
100<section class="fb-hours no-fb"> 
101</#if> 
102        <div class="instagram-feed"></div> 
103<script> 
104	define._amd = define.amd; 
105	define.amd = false; 
106</script> 
107<script src="//cdn.axiell.com/arena/instagram-feed/instagram-feed.js"></script> 
108<script> 
109	define.amd = define._amd; 
110</script> 
111 
112<script> 
113	(function($){ 
114		$.instagramFeed({ 
115			'username' : '${username.getData()}', 
116			'tag' : '${tags.getData()}', 
117			'items' : ${items.getData()}, 
118			'display_captions': ${captions.getData()}, 
119			'link':'https://www.instagram.com/${username.getData()}' 
120		}); 
121	})(jQuery); 
122</script> 

Boxholms bibliotek

Besöksadress: Storgatan 20 (ingång från torget)
Postadress:  Box 64, 59010 Boxholm
Telefon: 0142 89540
E-post: biblioteket@boxholm.se
Wifi: its-public, För att ansluta krävs att du godkänner våra användarvilkor.