[New] Combined announcement channel

Description

This announcement channel combines the campus and personal (targeted, group, course) announcements for a user into one channel. The advantage here is the ability to conserve real estate on a tab vs the out of the box Luminis offering of two seperate channels that distinguish between campus and personal announcements. In addition by selecting an announcement, the announcement is displayed to the user without the need of leaving the tab they are currently on. This latest incarnation of the announcement channel makes use of AJAX to communicate with the announcement servlet in the background to obtain the list of announcements, the details of the announcements, as well as periodically refresh the list of announcements.

Screenshot

Requirements
Installation
  1. Apply the Oracle SQL script for the version of Luminis this is being deployed to (ta_lp3.sql or ta_lp4.sql)
  2. Add a reference to the Prototype library to your nested tables file
  3. Add a reference to the um_utils.js library to your nested tables file
  4. Place all the jar files into $CP_WEBINF/lib (pick just one of either um_utils_addons_lp3.jar or um_utils_addons_lp4.jar)
  5. Apply the snippets in lp3.web.xml or lp4.web.xml to the servers web.xml file
  6. Place the css and js somewhere on the server's file system
  7. Issue the following configman commands (adjust the path to the files):
    • -s ca.umanitoba.luminis.servlet.AnnouncementServlet.css_file /opt/luminis/webapps/luminis/um/announcements/announcement.css
    • -s ca.umanitoba.luminis.servlet.AnnouncementServlet.js_file /opt/luminis/webapps/luminis/um/announcements/announcement.js
  8. Log into Luminis with a user that has channel admin rights and create a channel with the following:
    • Chanel Type: Custom
    • Channel Classpath: ca.umanitoba.luminis.channels.ajax.AjaxRequests
    • Parameter: js_url = /cp/um_announcements/js
Source Code

http://svn.lumdev.net/Luminis/Channel%20Repository/ca.umanitoba.annoucements/

Syndicate content