2017-12-11, 02:18 PM
I have a header banner i put when i do maintenance
I put this in my header template
and as you can see i have it commented out. When i want it to show i removed the <!-- and --> to make it active.
Is there a way instead of doing this manually, to have a setting in ACP to turn soemthing like this on and off? Or is there a plugin already available?
I put this in my header template
<!--
<div style="text-align: center;border: 1px solid #ccc;background: #ffde69;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;padding: 8px 12px;margin: 10px 0 0;">
Server maintenance occurring. Expect possible downtime in short increments, possible data loss, or site modifications. If you want to make a copy of threads you posted to, you can archive them <a href="https://archive.org/web/" target="_blank" >here</a> at the bottom entitled <b>save page now</b>. Hopefully that is just being too cautious. More info <a href="https://python-forum.io/Thread-Maintenance-Banner">here</a>. Sorry for any inconvenience.
</div><br>
-->
and as you can see i have it commented out. When i want it to show i removed the <!-- and --> to make it active.
Is there a way instead of doing this manually, to have a setting in ACP to turn soemthing like this on and off? Or is there a plugin already available?