This recipe displays a banner update/announcement with your preferred message at top of selected knack pages.
Note: This uses only Knack built-in functionality with exception of one line of CSS (later).
Background: As I have very little contact with my globally dispersed app users, I wanted to create a simple announcement system that I could use to communicate important functional updates or system issues. Also, as I must frequently work in the live system, I wanted to be able to tell my users there was work going on i.e. “under construction”. Furthermore, Knack want to move my app to another server, so I also need to let my users know not to update records while this is going on.
Features include:
Announcements can be made by end-user admin (from within app)
Two types of announcements
Normal: i.e. update on new functionality etc
Warning: e. system issues, don’t update record etc
Messages display expires after x number of days
History of updates is kept and can be displayed for users
Noel, what I do is that in my object where I have a yes/no field titled show everyday. Then, I have a date field that is the date to show the message. I have rule that runs first thing every day that changes the date field to today's date for any records that have the flag set to yes in the "show everyday" field.
Actually would be nice if when creating the announcement you could enter the start and end date/time for display. I have tried this but haven't been able to come up with a display rule set that works. Any/ideas gratefully accepted
Just wanted to point out that those view ID #'s in the CSS will change from project to project. You might want to include how people can find those viewID's, otherwise the CSS will not work for them.