|
You can edit the LotusConnections-config.xml file that controls the IBM® Connections theme to incorporate the new cascading style sheet (CSS) theme. Also, the new theme requires you to switch off Internet Explorer 7 compatibility mode. Switching off compatibility mode is required for the new theme only, it does not apply to deployments that are not configured to use the new theme as default. Connections 4.5 CR 1 is a prerequisite for the new theme.
|
About this task
You can add a configuration setting to LotusConnections-config.xml to make the new theme the default theme.
Procedure
- Start the wsadmin client by completing the following steps:
- Open a command prompt and then change to the following directory of the system on which you installed the deployment manager:
Directory path conventions ic45/profiles/dm_profile_root/bin
where dm_profile_root is the Deployment Manager profile directory; this directory is usually called dmgr01. For example, on Windows, the directory is C:\Program Files\IBM\WebSphere\AppServer\profiles\Dmgr01\bin
Attention: You must run the command to start the wsadmin client from this specific directory because the Jython files for the product are stored there. If you start the client from a different directory, the execfile() command does not work correctly.
- Enter the following command to start the wsadmin client:
- AIX or Linux: ./wsadmin.sh -lang jython -user admin_user_id -password admin_password -port SOAP_CONNECTOR_ADDRESS_PORT
- IBM i: wsadmin -lang jython -user admin_user_id -password admin_password -port SOAP_CONNECTOR_ADDRESS_PORT
- Microsoft Windows: wsadmin -lang jython -user admin_user_id -password admin_password -port SOAP_CONNECTOR_ADDRESS_PORT
where:
- admin_user_id is the user name of the Administrator role on IBM WebSphere® Application Server. This administrator must be configured at the cell level, not at the cluster, node, or server level.
- admin_password is the password of the WebSphere Application Server administrator.
- SOAP_CONNECTOR_ADDRESS_PORT is the SOAP port for the WebSphere Application Server deployment manager server. The default value of the SOAP port is 8879. If you are using the default port value, you do not have to specify this parameter. If you are not using the default value and you do not know the port number, you can look up its value in the WebSphere Application Server Integrated Solution Console. To look up the SOAP port number, complete the following steps:
- Open the WebSphere Application Server Integrated Solution Console for the deployment manager, and then select System Administration -> Deployment Manager.
- In the Additional properties section expand Ports, and then look for the SOAP_CONNECTOR_ADDRESS port entry to find the port number.
For example:
- AIX or Linux: ./wsadmin.sh -lang jython -username primaryAdmin -password p@assword -port 8879
- IBM i: wsadmin -lang jython -username primaryAdmin -password password -port 8879
- Microsoft Windows: wsadmin -lang jython -username primaryAdmin -password p@assword -port 8879
- Use the wsadmin client to check out IBM Connections configuration files:
- Enter the following command to access the IBM Connections configuration file: execfile("connectionsConfig.py")
If you are prompted to specify a service to connect to, type 1 to select the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file by using a local file path, you must select the node where the file is stored. This information is not used by the wsadmin client when you are making configuration changes.
- Enter the following command to check out IBM Connections configuration files:
LCConfigService.checkOutConfig("working_directory","cell_name")
where:
For example:
- AIX or Linux: LCConfigService.checkOutConfig("/opt/temp","foo01Cell01")
- IBM i: LCConfigService.checkOutConfig("/temp","foo01Cell01")
- Microsoft Windows: LCConfigService.checkOutConfig("c:/temp","foo01Cell01")
- Disable forced IE7 compatibility mode. Using a text editor, open LotusConnections-config.xml from the local directory to which you checked it out and set the following property:
<properties>
<genericProperty name="com.ibm.lconn.core.web.request.HttpRequestFilter.IECompatMode">false
</genericProperty>
<!-- other properties -->
</properties>
Note: Disabling forced IE7 compatibility mode applies only to the new theme. It does not apply to any existing Connections themes.
- Pick the com.ibm.social.gen4.theme_4.0.0.20130530-1409.jar from the business solutions catalog.
- Drop it into the <CONNECTIONS_PROVISION_PATH>/webresources directory.
Note: You can read the value of <CONNECTIONS_PROVISION_PATH> from the IBM Console, under Environment -> WebSphere variables.
- Stop the WebSphere Application Server.
- Clear the WAS/temp directory.
- Set the genericProperty configuration property in LotusConnections-config.xml to "gen4" before the closing </config> tag:
<properties>
<genericProperty name="com.ibm.lconn.core.web.styles.theme.default">
gen4</genericProperty>
<!-- other properties>
</properties>
- When you make the update, type the following command to deploy the changes:
- Restart WebSphere Application Server.
Results
IBM Connections now uses the new theme.
|