Customizing product name
After installing and deploying HCL Docs, you can customize the product name.
Procedure
- To customize the Editor application, do the following steps:
- Customize concord-config.json.
- Log in HCL Docs WebSphere Deployment Manager.
- Locate the concord-config.json file, for example, /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/${CELL_NAME}/IBMDocs-config/concord-config.json.
- Back up concord-config.json.
- Revise the following section in concord-config.json:
"build-info" : { "product_name" : "IBM Connections Docs", "build_version" : "1.4.3", "build_timestamp" : "20151208-2200", "build_description" : "IBM Connections Docs 1.4.3" }
- Synchronize the change to all nodes.
- Customize JSP pages.
- Log in HCL Docs WebSphere Deployment Manager.
- Change to Application JSP pages folder, for example, /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/${CELL_NAME}/IBMDocs.ear/com.ibm.concord.war.war/WEB-INF/pages.
- Customize app.jsp page. Find the following variable and change
the value:
var g_prodName = "Docs"
- Customize login.jsp. Find and change the words in following sections:
Delete the following section to remove the Logo:<div class="lotusLogo" id="lotusLogo"><span class="lotusAltText">IBM Connections</span></div> <script>document.getElementById("pFindOut").innerHTML = dojo.string.substitute(resourceBundle.login_find_out, ['<a href="http://www-306.ibm.com/software/lotus/products/connections/">ibm.com</a>']);</script>
<span class="lotusRight" aria-hidden="true"><img role="presentation" src="<%= contextPath + staticRootPath %>/images/lc3/blank.gif" alt="IBM" class="lotusIBMLogo"><span class="lotusAltText">IBM</span></span>
- Repeat the above step i to step iv for on all HCL Docs Editor application servers.
- Customize concord-config.json.
- To customize the Viewer application, do the following steps:
- Customize JSP pages
- Log in Viewer application server.
- Change to Application JSP pages folder, for example, /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/${CELL_NAME}/ViewerApp.ear/com.ibm.concord.viewer.war.war/WEB-INF/pages.
- Customize product.jsp. Find the following
variable and change the value.
var g_prodName = "Viewer" var g_docsProdName = "HCL Docs";
- Customize login.jsp. Find the following variables
and change the value:
<div class="lotusLogo" id="lotusLogo"><span class="lotusAltText">IBM Connections</span></div> <script>document.getElementById("pFindOut").innerHTML = dojo.string.substitute(resourceBundle.login_find_out, ['<a href="http://www-306.ibm.com/software/lotus/products/connections/">ibm.com</a>']);</script>
- Repeat step i to step iv for on all Viewer application servers.
- Customize JSP pages