Inside the Tollway
An error occurred while processing the template.
Failed to "?eval" string with this error:
---begin-message---
Syntax error in ?eval-ed string in line 1, column 53:
Lexical error: encountered "u" (117), after "\"Reaching New Milestones \\".
---end-message---
The failing expression:
==> imageJSON?eval [in template "20157#20197#1140433" at line 151, column 41]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign imageStr = imageJSON?eval [in template "20157#20197#1140433" at line 151, column 21]
----
1<#--
2Widget 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>
10 img {
11 max-width: 100%;
12 width: auto\9;
13 height: auto;
14 vertical-align: middle;
15 border: 0;
16 -ms-interpolation-mode: bicubic;
17 }
18
19 .image-large{
20 width: 100%
21 }
22
23 .image-medium{
24 padding-top: 10px;
25 max-height: 100%;
26 }
27
28 .image-small{
29 display: block;
30 width: 100%;
31 height: 0px;
32 background-size: cover;
33 background-position: center;
34 background-repeat: no-repeat;
35 padding-bottom:100%;
36 }
37
38 .separator {
39 border-top: 1px dotted #bfbfbf !important;
40 }
41
42 /* Avoid buttons being croped in small devices*/
43 .taglib-page-iterator .lfr-pagination-buttons>li>a{
44 width: auto !important;
45 }
46
47 @media screen and (max-width: 750px) {
48 .navbar-search.pull-right{
49 max-width: 100%;
50 }
51 }
52
53 @media screen and (max-width: 979px){
54 .form-search .btn[type="submit"]{
55 display: block !important;
56 position: inherit !important;
57 margin-top: 10px !important;
58
59 -webkit-border-radius: 14px 14px 14px 14px !important;
60 -moz-border-radius: 14px 14px 14px 14px !important;
61 border-radius: 14px 14px 14px 14px !important;
62 }
63
64 .navbar-search.pull-right{
65 max-width: 90%;
66 }
67 }
68
69 .entry-content {
70 margin-bottom: 0px;
71 }
72 .entry-body p {
73 line-height: 18px;
74 margin-bottom: 10px;
75 }
76
77 .entry-date {
78 color: #999;
79 }
80 .entry-footer:after {
81 display: inline;
82 content: initial;
83 }
84
85 .pagination-bar {
86 align-items: center;
87 display: flex;
88 flex-wrap: wrap;
89 clear: both;
90 height: auto;
91 width: auto;
92 }
93
94 .pagination-bar .pagination .page-item .page-link{
95 color: #009c34;
96 }
97 .pagination-bar .pagination .page-item .page-link:hover {
98 color: #0B3D16;
99 text-decoration: none;
100 }
101 .pagination-bar .pagination .page-item .page-link:focus {
102 box-shadow: 0 0 0 0.2rem #28a7453d;
103 }
104 .pagination-bar .pagination .page-item.disabled .page-link {
105 color: #6c757d;
106 }
107 .page-link:active, .page-link.active, .nav-underline .tab.active a.page-link {
108 background-color: #009c34;
109 border-color: #009c34;
110 }
111 .entry-title h2 {
112 margin-right: 0px;
113 }
114 .page-item.active .page-link, .nav-underline .tab.active a.page-item .page-link, .page-item.show .page-link {
115 background-color: #009c34;
116 border-color: #009c34;
117 color: #FFF !important;
118 cursor: default;
119 z-index: 3;
120 }
121 .twitter-share-button.twitter-share-button-rendered.twitter-tweet-button {
122 width: initial !important;
123 }
124
125</style>
126
127<div id="fb-root"></div>
128<script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
129<div class="col-md-12 col-sm-12" style="padding: 0px;">
130 <#if entries?has_content>
131 <#list entries as curEntry>
132 <#-- -- > ${curEntry?index} -->
133
134 <div class="col-md-12 col-sm-12 entry">
135 <#assign
136 assetRenderer = curEntry.getAssetRenderer()
137 journalArticle = assetRenderer.getAssetObject()
138 doc = saxReaderUtil.read(journalArticle.getContentByLocale("en_US"))
139 rootElement = doc.getRootElement()
140 dynamicElements = rootElement.elements()
141 />
142
143
144
145
146 <#list dynamicElements>
147 <#items as dynamicElement>
148 <#--b>${dynamicElement.attributeValue("name")}${dynamicElement?counter}</b -->
149 <#if "BigImage" == dynamicElement.attributeValue("name") >
150 <#assign imageJSON = dynamicElement.element("dynamic-content").getText()>
151 <#assign imageStr = imageJSON?eval>
152 <#assign imageURL = "/c/document_library/get_file?uuid=" + imageStr.uuid+ "&groupId=" + imageStr.groupId/>
153 <#if (curEntry?index == 0)>
154 <div>
155 <img class="image-large" src= "${imageURL}" onerror="this.style.display='none'" alt=" "/>
156 </div>
157 <#else>
158 <div class="col-md-4 col-sm-12">
159 <img class="image-medium ${dynamicElement?counter}" src="${imageURL}" onerror="this.style.display='none'" alt=" ">
160 </div>
161 </#if>
162 </#if>
163 <#if "Title" == dynamicElement.attributeValue("name") >
164 <#assign title = dynamicElement.element("dynamic-content").getText()>
165 <#if (curEntry?index == 0)>
166 <div class="entry-content" style="padding-top: 20px;">
167 <div class="entry-title">
168 <h3><a href="${themeDisplay.getPortalURL() + "/-/" + assetRenderer.getUrlTitle()}" style="color: #009c34">${title}</a></h2>
169 </div>
170 </div>
171 <#else>
172 <div class="col-md-8 col-sm-12" style="padding: 0px;">
173 <div class="entry-content">
174 <div class="entry-title">
175 <h3><a href="${themeDisplay.getPortalURL()+"/-/"+assetRenderer.getUrlTitle()}" style="color: #009c34">${title}</a></h3>
176 </div>
177 </div>
178 </div>
179 </#if>
180 </#if>
181 <#if "Body" == dynamicElement.attributeValue("name") >
182 <#assign bodyHeader = dynamicElement.element("dynamic-content").getText()>
183 <#if (curEntry?index == 0)>
184 <div class="entry-body">
185 <p>${stringUtil.shorten(htmlUtil.stripHtml(bodyHeader), 500)}</p>
186 <div>
187 <div class="col-md-4 col-sm-12" style="padding: 0px;">
188 <a class="read-more" href="${themeDisplay.getPortalURL() + "/-/" + assetRenderer.getUrlTitle()}">
189 Read full article »
190 </a>
191 </div>
192 <div class="col-md-8 col-sm-12" style="padding: 0px;">
193 <div class="col-md-2 col-sm-12 col-xs-3" style="padding-left: 0px; float: right; margin-right: -30px;">
194 <a href="http://twitter.com/share" class="twitter-share-button" data-url=${themeDisplay.getPortalURL() + "/-/" + assetRenderer.getUrlTitle()}
195 data-text="${curEntry.getTitle(locale)}">
196 Tweet
197 </a>
198 </div>
199 <div class="col-md-1 col-sm-12 col-xs-3" style="padding-left: 0px; float: right; margin-right: 25px;">
200 <a class="fb-like" data-href="${themeDisplay.getPortalURL() + "/-/" + assetRenderer.getUrlTitle()}" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="false"></a>
201 </div>
202 </div>
203 </div>
204 </div>
205 <#else>
206 <div class="entry-body">
207 ${stringUtil.shorten(htmlUtil.stripHtml(bodyHeader), 280)}
208 <br/>
209 <a class="read-more" href="${themeDisplay.getPortalURL() + "/-/" + assetRenderer.getUrlTitle()}">
210 Read full article »
211 </a>
212 </div>
213 </#if>
214 </#if>
215 <#if "DisplayDate" == dynamicElement.attributeValue("name") >
216 <#assign displayDate = dynamicElement.element("dynamic-content").getText()>
217 <div class="entry-footer">
218 <span class="entry-date">
219 <span class=" lfr-portal-tooltip" title="Date">
220 <img id="ctvk__column1__1" src="https://www.illinoistollway.com/o/istha-new-theme/images/common/date.png" alt="Date" title="Date">
221 <span class="taglib-text hide-accessible">Date</span>
222 </span>
223 ${displayDate}
224 </span>
225 </div>
226 </#if>
227 <#if "Body" == dynamicElement.attributeValue("name") >
228 <#assign body = dynamicElement.element("dynamic-content").getText()>
229 </#if>
230 </#items>
231 <div class="col-md-12 col-sm-12">
232 <div class="separator"><!-- --></div>
233 </div>
234 </#list>
235 </div>
236 </#list>
237</#if>
238</div>
—
20 Items per Page