An error occurred while processing the template.
The following has evaluated to null or missing: ==> show [in template "483525#483562#1768425" at line 123, column 22] ---- 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: #if show.getData() == "template" [in template "483525#483562#1768425" at line 123, column 17] ----
1<script>
2
3 $( window ).on( "load", function() {
4 /* document.getElementById('gtbox').style.opacity = '0'; */
5 });
6
7 function movetrans(){
8 var gtboxcont = document.getElementById('gtbox').innerHTML
9 document.getElementById('gtbox').innerHTML = ""
10 document.getElementById('trans_header').innerHTML = gtboxcont
11 }
12 $( window ).on( "load", function() {
13 //movetrans();
14 });
15
16 </script>
17
18 <style>
19
20 .skiptranslate.goog-te-gadget div .goog-te-combo:nth-child(2){
21 display:none;
22 }
23 #google_translate_element{
24 width: fit-content;
25 margin: 0 auto;
26 }
27
28
29
30 ul.gtflags{
31 list-style-type: none;
32 }
33 ul.gtflags li{
34 float: left;
35 padding:.25em .35em;
36 display:flex;
37 align-items:center;
38 justify-content:center;
39 }
40 ul.gtflags li a{
41 margin:0;
42 padding:0;
43 display: flex;
44 }
45 .gtflags.small{
46 font-size: 100%;
47 }
48
49 .gtflags.small img{
50 width:20px!important;
51 height:20px!important;
52 }
53 .gtflags.medium img{
54 width:24px!important;
55 height:24px!important;
56 }
57 .gtflagsext {
58 width: 100%;
59 display: flex!important;
60 }
61
62 .gtflagsext.left{
63 justify-content: flex-start;
64 }
65 .gtflagsext.center{
66 justify-content: center;
67 }
68 .gtflagsext.right{
69 justify-content: flex-end;
70 }
71
72 .gtflags.flag li a span{
73 display:none;
74 }
75 .gtflags.text li a img{
76 display:none;
77 }
78 .gtflags li a span{
79 padding: 0.2em .25em 0 .5em;
80 }
81 .gtflags li a{
82 display: flex;
83 flex-wrap: wrap;
84 align-content: center;
85 justify-content: center;
86 align-items: center;
87 }
88
89 .journal-content-article .gtflags li a span{
90 padding: 0em .25em 0 .5em;
91 font-size: 80%!important;
92 }
93
94
95 .gtflags_label{
96 <#if labelcolor.getData() != "" >
97 color: ${labelcolor.getData()}!important;
98 </#if>
99 }
100 <#if labelposition.getData() == "above" >
101 .gtflagsext{
102 flex-direction: column;
103 }
104 </#if>
105 <#if labelposition.getData() == "below" >
106 .gtflagsext{
107 flex-direction: column;
108 }
109 </#if>
110
111 @media screen and (max-width : 640px){
112 .gtflags{
113 display: flex;
114 flex-wrap: wrap;
115 align-items: center;
116 justify-content: center;
117 }
118 }
119 </style>
120
121 <div id="wc_template_translate" class="gtflagsext ${position.getData()}">
122
123 <#if show.getData() == "template" >
124
125 <#if labelposition.getData() == "above" >
126 <div class="gtflags_label fs80 ta_center">
127 ${label.getData()}
128 </div>
129 </#if>
130
131
132
133 <ul id="gtflags" class="gtflags ${flagsize.getData()} ${type.getData()}">
134 <#if labelposition.getData() == "left" >
135 <li class="gtflags_label fs80">
136 ${label.getData()}
137 </li>
138 </#if>
139 <#if getterUtil.getBoolean(english.getData())>
140 <li><a href="#googtrans(en|en)" class="lang-en lang-select" data-lang="en"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/en.png" alt="English" title="English"><span>English</span>
141 </a></li>
142 </#if>
143 <#if getterUtil.getBoolean(french.getData())>
144 <li><a href="#googtrans(en|fr)" class="lang-es lang-select" data-lang="fr"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/fr.png" alt="French" title="French"><span>French</span>
145 </a></li>
146 </#if>
147 <#if getterUtil.getBoolean(german.getData())>
148 <li><a href="#googtrans(en|de)" class="lang-es lang-select" data-lang="de"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/de.png" alt="German" title="German"><span>German</span>
149 </a></li>
150 </#if>
151 <#if getterUtil.getBoolean(italian.getData())>
152 <li><a href="#googtrans(en|it)" class="lang-es lang-select" data-lang="it"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/it.png" alt="Italian" title="Italian"><span>Italian</span>
153 </a></li>
154 </#if>
155 <#if getterUtil.getBoolean(spanish.getData())>
156 <li><a href="#googtrans(en|es)" class="lang-es lang-select" data-lang="es"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/es.png" alt="Spanish" title="Spanish"><span>Spanish</span>
157 </a></li>
158 </#if>
159 <#if getterUtil.getBoolean(portuguese.getData())>
160 <li><a href="#googtrans(en|pt)" class="lang-es lang-select" data-lang="pt"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/br.png" alt="Portuguese" title="Portuguese"><span>Portuguese</span>
161 </a></li>
162 </#if>
163 <#if labelposition.getData() == "right" >
164 <li class="gtflags_label fs80">
165 ${label.getData()}
166 </li>
167 </#if>
168 <ul>
169 <#if labelposition.getData() == "below" >
170 <div class="gtflags_label fs80 ta_center">
171 ${label.getData()}
172 </div>
173 </#if>
174
175 </#if>
176
177 <#if show.getData() == "topheader" >
178 <style>
179 .gtbox_header{
180 display: none!important;
181 }
182 </style>
183 <script>
184
185 var theflags = '<ul class="gtflags ${flagsize.getData()} ${type.getData()}"><#if getterUtil.getBoolean(english.getData())><li><a href="#googtrans(en|en)" class="lang-en lang-select" data-lang="en"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/en.png" alt="English" title="English"><span>English</span></a></li></#if><#if getterUtil.getBoolean(french.getData())><li><a href="#googtrans(en|fr)" class="lang-es lang-select" data-lang="fr"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/fr.png" alt="French" title="French"><span>French</span></a></li></#if><#if getterUtil.getBoolean(german.getData())><li><a href="#googtrans(en|de)" class="lang-es lang-select" data-lang="de"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/de.png" alt="German" title="German"><span>German</span></a></li></#if><#if getterUtil.getBoolean(italian.getData())><li><a href="#googtrans(en|it)" class="lang-es lang-select" data-lang="it"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/it.png" alt="Italian" title="Italian"><span>Italian</span></a></li></#if><#if getterUtil.getBoolean(spanish.getData())><li><a href="#googtrans(en|es)" class="lang-es lang-select" data-lang="es"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/es.png" alt="Spanish" title="Spanish"><span>Spanish</span></a></li></#if><#if getterUtil.getBoolean(portuguese.getData())><li><a href="#googtrans(en|pt)" class="lang-es lang-select" data-lang="pt"><img src="${themeDisplay.getPortalURL()}/html/common/themes/theme/aa01/flags/br.png" alt="Portuguese" title="Portuguese"><span>Portuguese</span></a></li></#if></ul><div id="trans_header"></div>'
186
187 document.getElementById('top_header_translate').innerHTML = theflags
188
189 </script>
190 <STYLE>
191 .alert_admin_mode{
192 display:'';
193 padding:20px;
194 background:#eee;
195 border: 1px solid #ccc;
196 font-size:140%;
197 }
198 body.signed-out .alert_admin_mode{
199 display:none;
200 }
201 </STYLE>
202 <div class="alert_admin_mode">
203 <strong>TRANSLATE TEMPLATE</strong>. Top Header Position DEMO 1
204 </div>
205
206
207 </#if>
208
209
210 </div>
211
212
213 <script type="text/javascript">
214 function googleTranslateElementInit() {
215 new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT}, 'google_translate_element');
216 }
217
218 function triggerHtmlEvent(element, eventName) {
219 var event;
220 if (document.createEvent) {
221 event = document.createEvent('HTMLEvents');
222 event.initEvent(eventName, true, true);
223 element.dispatchEvent(event);
224 } else {
225 event = document.createEventObject();
226 event.eventType = eventName;
227 element.fireEvent('on' + event.eventType, event);
228 }
229 }
230
231 jQuery('.lang-select').click(function() {
232 var theLang = jQuery(this).attr('data-lang');
233 jQuery('.goog-te-combo').val(theLang);
234
235 //alert(jQuery(this).attr('href'));
236 window.location = jQuery(this).attr('href');
237 location.reload();
238
239 });
240 </script>
241 <script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
242
243
244 <script>
245 console.log('window.location.href ' + window.location.href)
246 var whref = window.location.href
247 var whrefl = whref.length
248 var ult = whref.slice(-1)
249 //console.log('ult ' + ult)
250 //console.log(String.fromCharCode(41));
251
252 if(ult == String.fromCharCode(41)){
253 //console.log('es par')
254 }else{
255 //console.log(' no es par')
256 <#if loadlanguage.getData() == "english" >
257 window.location.assign(whref + "#googtrans(en|en)")
258 </#if>
259 <#if loadlanguage.getData() == "french" >
260 window.location.assign(whref + "#googtrans(en|fr)")
261 </#if>
262 <#if loadlanguage.getData() == "german" >
263 window.location.assign(whref + "#googtrans(en|de)")
264 </#if>
265 <#if loadlanguage.getData() == "italian" >
266 window.location.assign(whref + "#googtrans(en|it)")
267 </#if>
268 <#if loadlanguage.getData() == "spanish" >
269 window.location.assign(whref + "#googtrans(en|es)")
270 </#if>
271 <#if loadlanguage.getData() == "portuguese" >
272 window.location.assign(whref + "#googtrans(en|pt)")
273 </#if>
274 }
275
276 </script>
277
278
279
280<script>
281//document.getElementById('top_header_translate').innerHTML = document.getElementById('gtflags').innerHTML
282//document.getElementById('wc_template_translate').innerHTML = ""
283</script>
- General Donation
- Donate Now Images Single Select
- Donate Now Multi Select
- Giving Day
- Org Donation
- Giving Tuesday
- Annual Fund
- Special Giving
- Donation in French
- Split Amount
- Split Fund
- Text 2 Fund
- Donate Texting Opt-In/Out
- Pennies for Puppies
- Emergency Disaster Fund - SplitFund
- Emergency Disaster Fund
- Sean's Donor Page
- GIVE
- More Donation Webpages
- Event Donation
- Donate Default
- Campaign
- Donate Using IATS
- Tribute Donation
- Match Giving
- Recurring Always
- Simple Donate
- Pledges
- Donor Sign In
- In Kind Donations
- Donate Marine Corps Conditional-udfs
Navigation
BACKGROUND IMAGE ADMIN VIEW
Place this structure plus all content containers or portlets in the first top position of the page grid.
Place this structure plus all content containers or portlets in the first top position of the page grid.
DONATE NOW
Transaction Approval Notice
Please wait for your transaction to complete. The instant your transaction is approved, you will be redirected to a thank you page or you will see a green message above.
You will also receive a confirmation email. If you do not see our emails right away, please check your bulk/spam folders and accept our email. You only need to do this once.
Please wait for your transaction to complete. The instant your transaction is approved, you will be redirected to a thank you page or you will see a green message above.
You will also receive a confirmation email. If you do not see our emails right away, please check your bulk/spam folders and accept our email. You only need to do this once.
CONFIG TEMPLATE
This template controls the elements:
FOOTER: Footer Title, Footer Descriptions
* This message is only visible in administrative mode
This template controls the elements:
FOOTER: Footer Title, Footer Descriptions
* This message is only visible in administrative mode
Demo Emails: <first><last>@no-email.info
Demo Credit Card
Visa 4007000000027
CVV 111
Expiration: any date after today
Demo eCheck
eCheck: John Doe
Routing 121141754
Acct: 7687245428 / Type: Checking
Max USD100