Customizing

Aaron Burden: Fountain pen and a notebook

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 .

Created:
Last Update:
Read in about 2 min
Aaron Burden: Fountain pen and a notebook

Adding a custom field to IBM Connections Profiles is great documented in “https://www.slideshare.net/palmke/show301-make-your-ibm-connections-deployment-your-own-customize-it-30628456[SHOW301: Make Your IBM® Connections Deployment Your Own: Customize It!]” the Connect 2014 session of Wannes Rams and Klaus Bild . Thanks to them for this great collection of customizing tipps.

In my case the bundle name is “stoeps” and the custom field i want to add is “twitterId”.

lotusconnections-config.xml

<resources>
    <!-- Custom strings for field labels -->
    <widgetBundle name="local.stoeps.profiles.strings.uiLabels" prefix="stoeps"/>
</resources>

local.stoeps.profiles.strings.uilabels.properties

# extension property field labels
label.stoeps.twitterId=Twitter Id:

profiles-types.xml

<property>
   <!-- Custom field for Twitter ID -->
   <ref>twitterId</ref>
   <updatability>readwrite</updatability>
   <hidden>false</hidden>
</property>

profiles-config.xml

Checkout profiles-config.xml and change following points:

Created:
Last Update:
Read in about 2 min
Card image cap

I have read about a new function in IBM Connections Wiki, which I missed until now. A new macro to create a table of contents within a wiki page.

The activation of this macro is documented here: Wikis configuration properties

wikimacros.enabled

Specifies whether macros are enabled in Wikis. You can use macros to automate common tasks, such as generating a table of contents in a wiki page. The default value of this parameter is false. To enable macros, set the value to true. When enabled, macros are available from the Macros menu in the editor toolbar.

Created:
Last Update:
Read in about 3 min
Aaron Burden: Fountain pen and a notebook

I had a problem last week with some customizations via custom.css in IBM Connections 3.0.1.1 CR3. Communities still use the default Layout and colors.

I found that defaultTheme.css rewrites some of my custom.css statements. I had to add the content of custom.css to the end of the xxxTheme.css (lazy but it works), that i have a consistent color and layout change. Tests with @import are not working, because @import must be the first statement of a css file and i need to add the custom.css to the end of the xxxTheme.css.

Created:
Last Update:
Read in about 1 min
Aaron Burden: Fountain pen and a notebook

The Default Page of Wikis shows some content for our users to offer them better work experience, but in some companies it would be good to change this text or use only one language. Content of this welcome page is set in the default language of the user who creates the wiki.

I found the properties File for this text area in {WAS_Root}/profiles/AppSrv01/installedApps/{cellname}/Wikis.ear When you unzip the file share.services.jar, you get the path com/ibm/lconn/share/services/handlers/wiki/nls/ and there the properties-files for wikis (WikiWelcomePageMessages.properties).

To change the values for english, you create a file named com.ibm.lconn.share.services.handlers.wiki.nls.WikiWelcomePageMessages.properties in {Connections Shared Directory}/customization/strings/

Here you define:

Created:
Last Update:
Read in about 1 min
Aaron Burden: Fountain pen and a notebook

Since version 3.0 bookmarks (dogear) module of Connections can be configured to open bookmarks in a new window, but the configuration does not include bookmarks in the Community module.

To get this function consistent and it would be good, when IBM adds the dogear configure switch to communities too.

Until this, you can follow this:

Go to [AppServer-Root]/profiles/[Communities-WAS]/installedApps/[cellname]/Communities.ear/comm.web.war/WEB-INF/tags

Edit displaybookmark.tag and change following line:

<a id="b_uri_${bookmark.uuid}" href="<tango:safeURL>${bookmark.uri}">

to

<div id="b_entry_${bookmark.uuid}">
  <h4>
    <a target="_blank" id="b_uri_${bookmark.uuid}" href="<tango:safeURL>${bookmark.uri}>
    </a>
  </h4>
</div>

Selection 003

To recompile the jsps and activate this changes, edit and save the bookmarks.jsp.

Windows

Edit and save following files:

Created:
Last Update:
Read in about 1 min