Announcement plugin for IBM Connections

Last week i searched a way to send all Connections users an information on important updates, which should be configurable and uses cookies to hide it for a specific time.

First i had a look at the Greenhouse Announcement Widget which is used within Greenhouse.

2014-12-19_16-46-41

Quite nice, but i had problems with IE 9 users and the popup appears on each page you open within Connections. So i tried something other.

After some searching i found a script of Ollie Phillips which is originally used to inform users about Cookie usage on the site. Ollie published the cookiesDirective.js under the MIT License. When you find the announcement slider useful, please buy him a beer.

I took the script and put it to a osgi bundle and added some configuration parameters.

Selection_20141219_16:43:43_001

If you want to test it, announcement-osgi, please use the updated archive! Download link see last point in this post!

Installation

Unarchive the package and copy de.stoeps.announcement_1.0.0.jar to your Connections customization folder/provision/webresources and the folder de (and all content below) to customization/javascript.

The text which is shown within the slider can be edited within customization/javascript/de/stoeps/announcement/popup.txt. You can use html code and links within this text file. So you can add links to additional informations.

Background color backgroundColor: '#CACACA', button text (buttonTextPre & buttonTextPost) and opacity (set backgroundOpacity: '99' to show a solid color) is configured in customization/javascript/de/stoeps/announcement/initialize.js

The announcement can be disabled with announcementEnabled: 'false'.

cookieLiveTime: 2 set the cookie to 2 days, so your users get the announcement again after 2 days and must confirm with the button.

After installation and after changes in initialize.js you must restart Common Application.

Update

Klaus and Rainer mentioned problems with german language within the browsers. So i renamed the plugin from de.stoeps to org.scripting101.

Please use the following archive to install the announcement osgi plugin!

announcement-osgi-1.0.1

Installation and customization is nearly the same, only the path within customization/javascript changes from de/stoeps to org/scripting101!

Thanks for testing guys.

6 thoughts on “Announcement plugin for IBM Connections





  1. Thx a lot Christoph.
    I had some issues using german as interface language and the announcement plugin (not sure if this is only an issue if you are using the language selector inside Connections).
    My solution was to change all de.stoeps.. paths to something like custom.stoeps…
    Cheers
    Klaus



Comments are closed.