Ticket #96 (closed feature request: fixed)
Create alert system
| Reported by: | ryanhowdy | Owned by: | ryanhowdy |
|---|---|---|---|
| Priority: | major | Milestone: | Usability and User Experience (2.1) |
| Component: | Global | Version: | |
| Severity: | Keywords: | ||
| Cc: |
Description
Need a system to show/hide the alerts that are show throughout the site.
We currently have three types of alerts:
info-alert - used to simply display information, typically used to explain how to do a specific task
ok-alert - used to show that an operation was performed sucessfully
error-alert - used to show that an operation failed
1. We need to have a close option for these alert messages so people who don't have js turned on won't have to stare at them forever.
2. Need to create new tables that will keep track of certain info-alerts and will allow the user to hide them forever
CREATE TABLE `fcms_alerts` ( `id` INT(25) NOT NULL AUTO_INCREMENT, `msg` TEXT NOT NULL , PRIMARY KEY (`id`), ) ENGINE=InnoDB DEFAULT CHARSET=utf8";
CREATE TABLE `fcms_alerts_users` ( `id` INT(25) NOT NULL AUTO_INCREMENT, `alert` INT(25) NOT NULL DEFAULT '0', `user` INT(25) NOT NULL DEFAULT '0', `show` TINYINT(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `alert_ind` (`alert`), KEY `user_ind` (`user`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8";
Change History
Note: See
TracTickets for help on using
tickets.
