<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Nigel,<br>
<br>
I have just released 5.20-3 beta. This beta version is *very* close
to being a production release.<br>
<br>
I have improved the announcement feature, so that you can very
easily change the title of the announcement as well as the text.<br>
If the file pointed to by the 'systemAnnouncementFilePath' has 2 or
more lines, then the 1st line is used as the title, with all the
rest used as the content.<br>
If there is only one line, it will drop back to its default "Please
note" title.<br>
<br>
Note that both the title and the content text can include HTML tags,
and there are CSS styles ".systemAnnouncementTitle" and
".systemAnnouncementText" which are used solely for this feature.
Feel free to over-ride my definitions by adding your own definitions
to /opt/zendto/www/css/local.css.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 07/07/2019 5:15 pm, Jules via ZendTo
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:21f6e97c-b4c7-e073-73cd-7a649a30d8ec@Zend.To">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
P.S. I've just put out 5.20-1 beta with this in it (as well as a
nice new "Download All Files as a Zip" button on the downloads
page to help out our users!). I just haven't announced it at all
as I haven't done enough testing yet.<br>
<br>
But feel free to download it if you're interested.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 07/07/2019 5:02 pm, Jules wrote:<br>
</div>
<blockquote type="cite"
cite="mid:3eceb9b5-0b5b-4159-a488-c834bc45bba3@Zend.To">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
Nigel,<br>
<br>
Good idea. Done.<br>
<br>
The filename is set by a new preferences.php setting
'systemAnnouncementFilePath'.<br>
This is set to '' by default, so it will never display anything.<br>
If you make it point to a file that doesn't exist, or it can't
read, or is empty, it won't display anything.<br>
Otherwise the contents of that file (which may contain HTML
tags) will be shown as a "Notice" at the top of the login,
logout and main-menu pages as you suggested.<br>
<br>
It will be in the next beta.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 04/07/2019 12:10 pm, Nigel
Kendrick via ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!d3e15914c1a2d3cb79e23c0251dbf3a7dad1868e388da98a3d46223723eb2cb32d33686b30835c4827803f9e17f3c3e6!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi Jules, everyone,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Apologies if I am missing the obvious
and this already exists: <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Would it be possible to have a static
(.txt?) MOTD file for quickly dropping in “maintenance
window” or other temporary messages into the top of the
home/login page as needed. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">On the few times I have had to put
something up, I have hacked a line or two into the page
layout, which is effective but not ideal.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Nigel Kendrick<o:p></o:p></p>
</div>
<br>
<br>
<span style="font-family:Arial; Font-size:10.0pt">
<hr> This email message has been delivered safely and
archived online by Mimecast.<br>
For more information please visit <a
href="http://www.mimecast.com" target="_blank"
moz-do-not-send="true">http://www.mimecast.com</a>
<hr> </span> <br>
<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="http://jul.es/mailman/listinfo/zendto" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'When a man points a finger at someone else, he should remember
that four of his fingers are pointing at himself.' - Louis Nizer
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To" moz-do-not-send="true">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'I've heard that it's possible to grow up. I've just never met
anyone who's actually done it.' - Meredith Grey, Grey's Anatomy
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To" moz-do-not-send="true">www.Zend.To</a>
Twitter: @JulesFM
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'Once is happenstance, twice is coincidence, three times is enemy
action.' - Ian Fleming
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>