Pages

Wednesday, May 11, 2011

How To Dynamically Change the Connections Theme

View Comments

Yesterday I got a question from a customer who was looking to revert the Connections 3.0.1 theme back to the Connections 2.5 theme. Part of the reason why they wanted to do this was because they were running Quickr 8.5 and they wanted to have some visual integration of the two. At first I thought this was going to be a daunting task, so I asked in my internal board. Within 2 minutes a discussion started and in less than 60 minutes I had my answer! (can you tell why I love this stuff??):


I'l spare you the details of the discussion, but the important thing to note is that the 2.5 theme is included as part of 3.0.x. So basically, there are two approaches. You can create a button that when clicked calls the method specified by David above. You can also do it manually and test it against Greenhouse by following these steps:

  1. Go to http://greenhouse.lotus.com/homepage
  2. Log in
  3. Once logged in, type the following in the address bar and press Enter: javascript:lconn.core.header.switchTheme('gen1');
  4. Voilá

Alternatively, the second approach is to make the 2.5 theme the default for all users. Here's how you do this:

  1. Go to the server where Connections is installed
  2. Create a directory called: <CONNECTIONS_ROOT>\data\shared\customization\common\nav\common\styles\defaultTheme
  3. Copy all the files from <WAS_PROFILE_ROOT>\installedApps\showcase2Cell01\Activities.ear\oawebui.war\nav\common\styles\gen1Theme
  4. In the directory specified in step 2, rename the gen1Theme*.* files to defaultTheme*.* (e.g. rename gen1Theme.css to defaultTheme.css)
  5. Restart Connections
  6. Voilá

Enjoy!


blog comments powered by Disqus