Information Systems:Posting a down-for-maintenance alert on Web Orders
Jump to navigation
Jump to search
To facilitate regular system maintenance, the Power8 is brought down at scheduled times. Since Web Orders will be down during this period, an alert message is placed on the login page at unipharm.com (which is externally hosted, so it will be up). To change it:
- Log in to unipharm.com, then navigate to the Exware CMS.
- Go to Website Manager, and drill down to uniPHARM Wholesale Drugs.
- Select 'index.html', and then 'body'.
- Click 'Content' -> 'Update' in the menu bar.
- Change the Update method dropdown to 'Edit using a simple text editor'
- This is the code for the homepage / login page. Within it, look for the following segment (specifically, it's the HTML div with id="alertmessage"):
<!--
<div id="alertmessage" style="padding: 20px; background-color: #f44336; color:white; margin-bottom: 15px;">
<p></p>
</div>
-->
Note, the block of code above has been indented for display purposes but it looks way messier in the built-in text editor on the CMS. Use Ctrl+F to help spot it.
- Uncomment the segment by removing
<!--and-->from before and after the div start and end tags, respectively. - Replace the content within the
<p>tags with the alert/message text to be displayed. - Hit 'Next', then 'Finish'.
- Click 'Content' -> 'Publish Content'.
- Check if the changes have been reflected on the page.
To remove the div, out of courtesy for the next person needing to put a message, comment out the code, don't delete. Also, remember to publish the content again after.