The following has evaluated to null or missing: ==> countries_text [in template "20101#20128#MINISTRY-WEB-1.0.0" at line 174, column 84] ---- 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: ${countries_text} [in template "20101#20128#MINISTRY-WEB-1.0.0" at line 174, column 82] ----
1<#assign urlName = name.getData()?replace(" ", "-")>
2<#assign region = .vars['Regions_Sel'].getData()>
3<#assign regionDis = region?replace("_", "-")>
4<#if .vars['countries'].getData() != "">
5<#assign countryDisplay = .vars['countries'].getData()>
6<#assign countryDisplay = countryDisplay?lower_case>
7<#assign countryDisplay = countryDisplay?replace("_", "-")>
8<#assign countryDisplay = 'country.' + countryDisplay>
9<#if countryDisplay == "country.north-africa">
10<#assign countryDisplay = "north-africa">
11</#if>
12
13</#if>
14<#assign regionMainURL = region?replace("_","-")>
15<#if regionMainURL == "south-africa">
16 <#assign regionMainURL = "south-africa-region">
17</#if>
18<#if getterUtil.getBoolean(.vars['Donate_Button'].getData())>
19 <#assign usaURL = "https://www.simusa.org/get-involved/give/?DSG=project&FundIDP=${.vars['Project_Number'].getData()}&searchme=searchP">
20 <#if .vars['Canada_Donate_URL'].getData() != "">
21<#assign canadaURL = .vars['Canada_Donate_URL'].getData() >
22<#else>
23<#assign canadaURL = "https://www.sim.ca/missionaries/unlisted-missionary">
24</#if>
25<#if .vars['French_Donate_URL'].getData() != "">
26<#assign frenchURL = .vars['French_Donate_URL'].getData() >
27<#else>
28<#assign frenchURL = "http://www.simorg.fr/je-donne">
29</#if>
30<#if .vars['Australia_Donate_URL'].getData() != "" >
31<#assign australiaURL = .vars['Australia_Donate_URL'].getData() >
32<#else>
33<#assign australiaURL = "http://www.sim.org.au/Donate/Ways-to-Give">
34</#if>
35<#assign ukURL = "https://www.sim.co.uk/give">
36<#assign nzURL = "http://sim.org.nz/donate/">
37</#if>
38<style>
39#donate-modal{
40display:none;
41position:fixed;
42
43top: 0;
44left: 0;
45right:0;
46bottom:0;
47padding:5%;
48z-index:910;
49overflow:hidden;
50background-color: rgb(0,0,0); /* Fallback color */
51background-color: rgba(0,0,0,0.2);
52}
53#donate-form {
54margin: 10px;
55display:block;
56}
57.donate-modal-content{
58 background-color: #fefefe;
59 margin: 15% auto; /* 15% from the top and centered */
60 padding: 20px;
61 -webkit-box-shadow: 0px 0px 25px -6px rgba(0,0,0,0.75);
62-moz-box-shadow: 0px 0px 25px -6px rgba(0,0,0,0.75);
63box-shadow: 0px 0px 25px -6px rgba(0,0,0,0.75);
64 width:50%;
65 border-radius: 5px;
66 text-align: center;
67}
68.donate-modal-header{
69
70border-bottom: .5px solid #ddd;
71width:100%;
72height: 100%;
73}
74
75.left-prayer {
76 margin: 0.5em !important;
77}
78
79@media screen and (min-width: 1400px)
80{
81 .pray-container-for-ministry {
82 padding-left: 15em !important;
83 padding-right: 15em !important;
84 }
85}
86
87@media (max-width:480px) {
88.donate-modal-content{
89width:90%;
90}
91}
92.ministry-container-tab {
93 background-color:#F8F8F8;
94}
95</style>
96<div id="embedded-welcome-portlet" style="display:none;">
97 <runtime-portlet name="82" instance="" queryString=""/>
98</div>
99<div class="sim-opportunity-content-container">
100 <div class="image-banner-container"
101 <#if mainImage.getData()?contains("photobucket")>
102 style="background-image:linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),url(<@image_url url='${mainImage.getData()}' size='b' />)">
103 <#else>
104 style="background-image:linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),url(${mainImage.getData()})">
105 </#if>
106
107 <div class="container-fluid">
108 <div class="banner-text-content-container">
109 <#if getterUtil.getBoolean(locationRestricted.getData())>
110
111 <span class="image-banner-location-text"><a href="/-/${regionMainURL}?Regions_Sel=${region}">${languageUtil.get(locale, region)}</a></span>
112
113
114 <#else>
115 <#if .vars['countries'].getData()?has_content && region == "#urlparam#">
116 <#if .vars['countries'].getData()?contains("-")>
117 <#assign count = 0>
118 <#assign countSeq = .vars['countries'].getData()?split("-")>
119 <#assign lastCount = countSeq?size - 1>
120 <#list countSeq as i>
121
122 <#assign iLoc = 'country.' + i?replace("_","-")>
123 <#if count gt 0>
124
125 <#assign countries_text = countries_text + '<a href="/-/' + i + '?countries=' + i + '&Regions_Sel=' + region + '">' + languageUtil.get(locale, iLoc?lower_case)>
126 <#if count != lastCount><#assign countries_text = countries_text + ' & '></#if>
127 <#if count == lastCount><#assign countries_text = countries_text + ', '></#if>
128 <#assign countries_text = countries_text + '</a>' />
129 <#else>
130 <#assign countries_text = '<a href="/-/' + i + '?countries=' + i + '&Regions_Sel=' + region + '">' + languageUtil.get(locale, iLoc)>
131 <#if count != lastCount><#assign countries_text = countries_text + ' & '></#if>
132 <#assign countries_text = countries_text + '</a>' />
133 </#if>
134
135 <#assign count = count + 1>
136 </#list>
137 <#else>
138 <#assign countries_text = '<a href="/-/' + countries.getData() + '?countries=' + countries.getData() + '&Regions_Sel=' + region + '">' + languageUtil.get(locale, countryDisplay) + ',</a>' />
139 </#if>
140 </#if>
141
142 <#if region?has_content && countries.getData()?has_content>
143 <#if .vars['countries'].getData()?contains("-")>
144 <#assign count = 0>
145 <#assign countSeq = .vars['countries'].getData()?split("-")>
146 <#assign lastCount = countSeq?size - 1>
147 <#list countSeq as i>
148 <#assign iLoc = 'country.' + i?replace("_","-")>
149 <#if count gt 0>
150 <#assign countries_text = countries_text + '<a href="/-/' + i + '?countries=' + i + '">' + languageUtil.get(locale, iLoc?lower_case)>
151 <#if count != lastCount><#assign countries_text = countries_text + ' & '></#if>
152 <#if count == lastCount><#assign countries_text = countries_text + ', '></#if>
153 <#assign countries_text = countries_text + '</a>' />
154 <#else>
155 <#assign countries_text = '<a href="/-/' + i + '?countries=' + i + '">' + languageUtil.get(locale, iLoc?lower_case)>
156 <#if count != lastCount><#assign countries_text = countries_text + ' & '></#if>
157 <#assign countries_text = countries_text + '</a>' />
158 </#if>
159 <#assign count = count + 1>
160 </#list>
161 <#else>
162 <#assign countries_text = '<a href="/-/' + countries.getData() + '?countries=' + countries.getData() + '">' + languageUtil.get(locale, countryDisplay) + ',</a>' />
163 </#if>
164
165
166 <#assign countries_text = countries_text + '<a href="/-/' + regionMainURL + '?Regions_Sel=' + region + '&countries=' + region?replace("-","_") + '"> '+ languageUtil.get(locale, regionDis) + '</a>' >
167
168 </#if>
169
170 </#if>
171 <#if countries.getData() == "" && region != "#urlparam#">
172 <#assign countries_text = '<a href="/-/' + regionMainURL + '?Regions_Sel=' + region + '&countries=' + region?replace("-","_") + '"> '+ languageUtil.get(locale, regionDis) + '</a>' >
173 </#if>
174 <span class="image-banner-location-text">${countries_text}</span>
175
176
177 <#if name.getData()?has_content>
178 <span class="image-banner-main-text">${name.getData()}</span>
179 </#if>
180
181 <#if mission.getData()?has_content>
182 <#assign mission_focus_text = mission.getData() />
183
184 <#if focus.getData()?has_content>
185 <#assign mission_focus_text = mission.getData() + ': ' + focus.getData() />
186 </#if>
187
188 <span class="image-banner-sub-text">${mission_focus_text?replace('\\d+', '', 'r')}</span>
189 </#if>
190 </div>
191 </div>
192 </div>
193
194 <div class="sim-opportunity-content">
195 <div class="ministry-container-tab">
196 <ul class="unstyled nav nav-tabs">
197 <li class="tab"><a href="#aboutContent">${languageUtil.get(locale, 'about')}</a></li>
198
199 <li class="tab"><a href="#goContent">${languageUtil.get(locale, 'come')}</a></li>
200
201 <li class="tab"><a href="#prayContent">${languageUtil.get(locale, 'pray')}</a></li>
202<#if getterUtil.getBoolean(.vars['Donate_Button'].getData())>
203 <li class="tab"><a href="#donate" onclick="donate();return false;" style="color:#bd2919">Donate</a></li>
204 </#if>
205 </ul>
206 </div>
207
208
209
210 <div class="about-content-container tab-pane container-fluid" id="aboutContent">
211 <h3 class="section-header text-center">${name.getData()}</h3>
212
213
214
215
216 <p class="text-center">${vision.getData()}</p>
217
218 </div>
219 <#assign opp = 0>
220<#if opportunity.getSiblings()?has_content>
221 <#list opportunity.getSiblings() as cur_opportunity>
222 <#if cur_opportunity.getData() != "">
223 <#assign opp = 1>
224 </#if>
225 </#list>
226</#if>
227<#if opp == 1>
228<#if opportunity.getSiblings()?has_content>
229 <div class="go-content-container tab-pane container-fluid pray-container-for-ministry" id="goContent">
230 <h3 class="section-header">${languageUtil.get(locale, 'come-and-serve')}</h3>
231
232
233 <div class="opportunities-container">
234 <#list opportunity.getSiblings() as cur_opportunity>
235 <div class="opportunity-container">
236 <div class="opportunity">
237 <div class="oppotunity-mission">${mission.getData()?replace('\\d+', '', 'r')}</div>
238
239 <div class="opportunity-title">${cur_opportunity.getData()}</div>
240 <#if getterUtil.getBoolean(locationRestricted.getData())>
241 <div class="opportunity-location"><a href="/-/${regionMainURL}?regions=${regionurl}">${regions.getData()}</a></div>
242 <#else>
243 <div class="opportunity-location">${countries_text}</div>
244 </#if>
245 </div>
246
247
248 </div>
249 </#list>
250 </div>
251
252 </div>
253</#if>
254</#if>
255
256 <div class="pray-content-container tab-pane container-fluid pray-container-for-ministry " id="prayContent">
257 <h3 class="section-header">${languageUtil.get(locale, 'prayers')}</h3>
258
259 <#if prayerRequest.getSiblings()?has_content>
260 <div class="prayers-container">
261 <#assign prayer_index = 1 />
262
263 <#list prayerRequest.getSiblings() as cur_prayerRequest>
264 <div class="d-none d-md-block sim-pray-container-md">
265
266 <div class="card card-center d-flex flex-row prayer-request-${prayer_index}">
267 <div class="left-content">${prayer_index}</div>
268
269 <div class="seperator"></div>
270
271 <div class="request-container right-content ">
272 <p class="request text-left">${cur_prayerRequest.getData()}</p>
273
274 </div>
275 </div>
276 </div>
277 <div class="card prayer-request-${prayer_index} d-md-none d-flex flex-column sim-pray-container-mobile" >
278 <div class="d-flex flex-column">
279 <div class="left-content text-center left-prayer">${prayer_index}</div>
280 <div class="request-container right-content">
281 <p class="request text-left">${cur_prayerRequest.getData()}</p>
282 </div>
283 </div>
284 </div>
285
286
287 <#assign prayer_index = prayer_index + 1 />
288 </#list>
289 </div>
290 </#if>
291 </div>
292 <#if getterUtil.getBoolean(.vars['Donate_Button'].getData())>
293 <div class="pray-content-container tab-pane container-fluid" id="donate">
294 <h3 class="section-header">Donate to this Ministry</h3>
295 <p class="lead">If you would like to financially support this ministry, you can give online by using the donate button below.</p>
296 <div class="text-center">
297 <a href="#" id="big-donate-btn" onclick="donate();return false;" class="btn btn-large btn-danger">Donate</a>
298 </div>
299 </div>
300</#if>
301
302
303
304 </div>
305</div>
306<#if getterUtil.getBoolean(.vars['Donate_Button'].getData())>
307
308<div id="donate-modal">
309<div class="donate-modal-content">
310<div class="donate-modal-header">
311<h2>Thank you for your support!</h2>
312<p class="lead">Remember you are givng to:
313
314<br>Project # ${.vars['Project_Number'].getData()}</p>
315
316
317<p>Please select which country you would give to, some countries will require the project number listed above.</p>
318</div>
319
320<form id="donate-form" class="form-inline">
321
322<label class="radio" style="font-weight:400;">
323 <input type="radio" name="countryOptions" id="Australia" value="australia">
324 Australia
325</label>
326
327<label class="radio" style="font-weight:400;">
328 <input type="radio" name="countryOptions" id="Canada" value="canada">
329 Canada
330</label>
331
332<label class="radio" style="font-weight:400;">
333 <input type="radio" name="countryOptions" id="France" value="france">
334 France
335</label>
336
337<label class="radio" style="font-weight:400;">
338 <input type="radio" name="countryOptions" id="NewZealand" value="newzealand">
339 New Zealand
340</label>
341
342<label class="radio" style="font-weight:400;">
343 <input type="radio" name="countryOptions" id="UK" value="uk">
344 United Kingdom
345</label>
346
347<label class="radio" style="font-weight:400;">
348 <input type="radio" name="countryOptions" id="USA" value="USA" checked>
349 USA
350</label>
351
352<p>
353
354<a id="donate-destination" onclick="gotoDonate(); return false;" href="#" class="btn" target="_blank" style="color:#FFFFFF;background-color:#C8102E;">Donate</a>
355</p>
356</form>
357</div>
358</div>
359<script>
360var donateURL = document.getElementById("donate-destination");
361var donateSelect = document.getElementsByName("countryOptions");
362function gotoDonate() {
363 for (var i=0, len=donateSelect.length; i<len; i++) {
364 if (donateSelect[i].checked) {
365 if (donateSelect[i].value == "USA") {
366 window.open('${usaURL}','_blank');
367 //close();
368 }
369 if (donateSelect[i].value == "uk") {
370 window.open('${ukURL}','_blank');
371 //close();
372 }
373 if (donateSelect[i].value == "canada") {
374 window.open('${canadaURL}','_blank');
375 //close();
376 }
377 if (donateSelect[i].value == "france") {
378 window.open('${frenchURL}','_blank');
379 //close();
380 }
381 if (donateSelect[i].value == "newzealand") {
382 window.open('${nzURL}','_blank');
383 //close();
384 }
385 if (donateSelect[i].value == "australia") {
386 window.open('${australiaURL}','_blank');
387 //close();
388 }
389 }
390 }
391}
392function donate() {
393 document.getElementById("donate-modal").style.display = "block";
394};
395function close() {
396 document.getElementById("donate-modal").style.display = "none";
397}
398window.onclick = function(event) {
399 if (event.target == document.getElementById("donate-modal")) {
400 close();
401 }
402}
403</script>
404
405</#if>
Related stories
Dear God ...
When Tohru was checking prayer letters for his team, a personal prayer stood out. It was emailed to supporters and family but addressed to God.
The mountains have burst: Zimbabwe under Cyclone Idai
When the floods came to Chimanimani, it was as if the mountains exploded. "The people said, ‘the mountains have burst,’” said SIM Zimbabwe Director Caiphas Ngarivhume.
Will you pray with me for Ethiopia?
Fighting in Ethiopia’s northern Tigray region has resulted in death and a sea of people displaced from their homes. If you find your tongue is nimble enough to speak, would you pray with us?
Sura’s journey with Children’s Uplift Programme
When Sura was trying to survive on the streets of Dhaka, she could never have imagined how SIM Bangladesh’s Children’s Uplift Programme would transform her life.
Healthcare: Compassion for a broken world
For two Faithful Witness mission workers relocating to Central Africa, healthcare is the avenue for discipleship to show compassion to our broken world.
Other Ministries from this Country
Advance Mission
La movilización de las iglesias de Malawi para el envío de personas hacia el ministerio transcultural, llevando hacia el establecimiento de agencias de envío en Malawi, una de las cuales podría ser el SIM.
Americas Leadership & Development Conference
This conference will bring together the SIM directors who serve in Latin America to provide leadership development and training.
Apurímac Church Planting and Discipleship
Under the Christian organization AIDIA, Peruvian believers and SIM missionaries seek to see churches planted and believers discipled into mature Christians in the rural villages of Apurímac. In this region only 8 percent of the villages have an evangelical church.
Asunción Guest House & Conference Centre
The aim of this Guest House & Conference Centre in Asunción is to provide a place where rural SIM missionaries may stay and rest when in the capital city as well as providing a large meeting place.
Biblical Literature
La creación o traducción e impresión y fabricación disponible de literatura bíblica en el norte de Mozambique.
Bingham Academy
Este ministerio provee educación cristiana de calidad para los hijos de los misioneros y de otros que buscan tener un impacto del reino en Etiopía.
Building Peace & Reconciliation
BRiCC is a community centre in central Jos that aims to build peace and reconciliation through relationships.
Centro Evangélico de Medicina do Lubango Womens Health Centre
The intent of Centro Evangélico de Medicina do Lubango (CEML) is to build and equip a Women’s Health Centre on the hospital site.
Childrens Outreach and Discipleship
Our aim is to express Christ’s love to the children and youth of Guinea.
Christian Camp Ministry
Camp is an important tool in reaching and discipling youth and leaders in Paraguay. It is the hope to develop more effective camps, utilizing the location, size and design of the camp property and buildings.
Christian Education
El ministerio de educación cristiana busca alcanzar a los niños, uno de los grupos más vulnerables, con las buenas nuevas de Jesucristo.
Christian School Ministry
Centro Educativo Internacional is a Christian school that shares the good news with Paraguayans through English language and other opportunities.
Church Engagement
Reconocer que las organizaciones misioneras necesitan re-comprometer a la iglesia, el SIM de Canadá está embarcándose en una estrategia a largo plazo para impulsar los números de misioneros por medio de varios objetivos par alas Iglesias que actualmente tienen relaciones con misioneros del SIM.
Church Leadership Training
Train servant leaders who love the Lord Jesus and who are competent in various ministry skills.
Church Partnerships
Facilitar que más iglesias en Australia cumplan la misión global de Cristo y la misión transcultural localmente.
Church Planting
Plantar Iglesias entre los pobres urbanos en Colombo, con un enfoque en el pueblo tamil.
Communications
Queremos ver que las consultas al servicio misionero crezcan por medio por medio de nuestro uso activo más profesional, y más intencional de los medios sociales para mejorar las consultas y donaciones en línea incluso más.