<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Travis,<br>
<br>
<div class="moz-cite-prefix">On 21/05/2020 20:37, Travis Zimmerman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!1cfd72b05571084fcd780805a24d5fe9a76d307bc0feabf48cb016d85ffc3fc91e0559bdad458f2f8c7849a508392f15!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode:
space; line-break: after-white-space;" class="">
That was it. Our web dev team had to touch a few of the template
files to apply our university’s color scheme and we changed
username to email in a couple places ( our students are on a
different domain than the staff, so we use email for auth ).
</div>
</blockquote>
You should change any text in the
/opt/zendto/config/locale/en_US/LC_MESSAGES/zendto.po file.<br>
After changing this file, run /opt/zendto/bin/makelanguages and then
restart Apache.<br>
This is all explained on<br>
<a class="moz-txt-link-freetext" href="https://zend.to/translators.php">https://zend.to/translators.php</a><br>
<br>
Then your customisations will survive upgrades and will not affect
and upgrades to the template files.<br>
<br>
It may seem strange to be reading docs about translating it to
another language. But effectively you are just customising the
"en_US" translation.<br>
<br>
In that zendto.po file (it's just plain text), there are lots of
"msgid" strings. This is the text that is in the template file for
that phrase. Each one has a corresponding "msgstr" string, which
contains the text that ZendTo actually serves up for that phrase. If
the msgstr is empty (msgstr "") then it defaults back to serving up
the msgid string.<br>
<br>
So, when translating to a new language (e.g. Welsh), the msgid would
be the English version that is in the template file. The msgstr
version would be the Welsh equivalent. But in your case the msgstr
version is just the modified (English) text you want to display.<br>
<br>
Does that explain it?<br>
If you're not sure, send me an example and I will show you exactly
what the relevant zendto.po entries look like.<br>
<br>
<blockquote type="cite"
cite="mid:WM!1cfd72b05571084fcd780805a24d5fe9a76d307bc0feabf48cb016d85ffc3fc91e0559bdad458f2f8c7849a508392f15!@mx.jul.es">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode:
space; line-break: after-white-space;" class="">
<div class="">We use the local.css file to make any changes to
the css code.</div>
<div class=""><br class="">
</div>
<div class="">Here’s what we touched, don’t know if this could
be added ( or some similar way ) for helping with branding or
did our web dev team miss something?</div>
<div class="">Added an id to the body tag.</div>
<div class="">header.tpl</div>
<div class=""><body id=“zendtobody”></div>
</div>
</blockquote>
Done.<br>
<blockquote type="cite"
cite="mid:WM!1cfd72b05571084fcd780805a24d5fe9a76d307bc0feabf48cb016d85ffc3fc91e0559bdad458f2f8c7849a508392f15!@mx.jul.es">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode:
space; line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class="">Added an id to this td and removed the background
color from its style.</div>
<div class="">email_footer_html.tpl</div>
<div class=""><td id=“footer”</div>
</div>
</blockquote>
I've called it "email-footer". I've also named the corresponding
header "email-header".<br>
<br>
There is now a bit of CSS in the email_header.tpl that sets the
background-color for #email-header and #email-footer. The
"local.css" is inserted just after this, so overrides it.<br>
<br>
That should fix it all for you.<br>
<br>
<blockquote type="cite"
cite="mid:WM!1cfd72b05571084fcd780805a24d5fe9a76d307bc0feabf48cb016d85ffc3fc91e0559bdad458f2f8c7849a508392f15!@mx.jul.es">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode:
space; line-break: after-white-space;" class="">
<div class="">As always, thanks for the help and making this
product.</div>
<div class="">
<div class=""><br class="">
</div>
</div>
</div>
</blockquote>
Many thanks for that!<br>
<br>
P.S. Please do feel free to ask your employer to either make a
donation, or else to pay an invoice for development work or similar.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<br>
<blockquote type="cite"
cite="mid:WM!1cfd72b05571084fcd780805a24d5fe9a76d307bc0feabf48cb016d85ffc3fc91e0559bdad458f2f8c7849a508392f15!@mx.jul.es">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode:
space; line-break: after-white-space;" class="">
<div class="">
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On May 21, 2020, at 10:58 AM, Jules <<a
href="mailto:Jules@Zend.To" class=""
moz-do-not-send="true">Jules@Zend.To</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Travis,<br class="">
<br class="">
My guess would be that you have modified a file or 2
in /opt/zendto/templates.<br class="">
If you did that, then the new versions will have
".rpmnew" (on CentOS/RedHat-based systems) or
similar stuck on the end of their filename. You need
to move the new ones into place, overwriting your
modified ones.<br class="">
<br class="">
The same could be true of your
/opt/zendto/www/css/swish2.css file.<br class="">
<br class="">
Also, make sure you have run<br class="">
/opt/zendto/bin/upgrade<br class="">
<br class="">
Hopefully 1 or more of those will be the cause!<br
class="">
<br class="">
Cheers,<br class="">
Jules.<br class="">
<br class="">
<div class="moz-cite-prefix">On 21/05/2020 15:09,
Travis Zimmerman via ZendTo wrote:<br class="">
</div>
<blockquote type="cite"
cite="mid:WM!8526218618cc08203756840da51411780a633af37aafb16e0af7843795c94a5cda1f1c3e6ffb2844d2a32c63a6b27361!@mx.jul.es"
class="">
We upgraded our ZendTo dev server to 5.23-4,
initially I’m pretty sure everything was fine. But
today when I looked at it there is no login on
either the Home page or the Login page.
<div class=""><br class="">
</div>
<div class="">I tried deleting the tpl.php files
in templates_c but that didn’t fix it. Did I
miss something in the Changelog or a new setting
in the preferences.php?</div>
<div class=""><br class="">
<div class="">
<div style="letter-spacing: normal;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class="">
<div style="orphans: 2; widows: 2;" class="">------------------------------------------------------</div>
<div style="orphans: 2; widows: 2;" class="">Travis
Zimmerman<span class="Apple-tab-span" style="white-space: pre;">
</span><a href="mailto:tzimmerman@fsu.edu" class=""
moz-do-not-send="true">tzimmerman@fsu.edu</a><span class="Apple-tab-span" style="white-space: pre;">
</span>850-645-8030</div>
<div style="orphans: 2; widows: 2;" class="">
<div class="">Linux Enterprise
Applications & Systems<span class="Apple-tab-span" style="white-space: pre;">
</span><a href="mailto:its-linuxadmins@fsu.edu" class=""
moz-do-not-send="true">its-linuxadmins@fsu.edu</a></div>
<div class="">Information Technology
Services, Florida State University</div>
</div>
</div>
</div>
<br class="">
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" moz-do-not-send="true">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="https://urldefense.com/v3/__http://jul.es/mailman/listinfo/zendto__;!!PhOWcWs!mrkCQ7zaYlclFQyTBrFHA7w7QmvV38dQBiA02cX0UHBuXQodG8bWttFzh_GFDlSujg$" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br class="">
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'I have lost friends, some by death ... others through sheer inability
to cross the street.' - Virginia Woolf
<a class="moz-txt-link-abbreviated" href="https://urldefense.com/v3/__http://www.Zend.To__;!!PhOWcWs!mrkCQ7zaYlclFQyTBrFHA7w7QmvV38dQBiA02cX0UHBuXQodG8bWttFzh_EQTr6Q_Q$" moz-do-not-send="true">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
The current UK shipping forecast:
Faeroes: East 4 to 6 becoming cyclonic 5 to 7. Slight or moderate becoming
moderate or rough, then very rough or high later. Fog banks then rain.
Moderate, occasionally very poor at first.
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>