Home
Add a link to the footer
The content of the footer is defined in the footer.html file.
There are parts of the footer that you should not edit or you risk limiting the basic functionality of the footer. These items include:
- {{footerlink.***}}
- Set of macros that represent the standard links that are displayed in the footer.
- {{ label.footer.*** }}
- Set of macros that represent globalized labels replaced by string values stored in Lotus Connections properties files.
- {{ root }}
- Contains links to the base location of the feature WAR file, which is usually stored in a that can be accessed from the following Web address:
http://server_name/feature/nav
..where server_name is the domain namespace of the server, such as www.acme.com and feature is the name of a feature, such as activities.
To add a link to the footer...
- Make a copy of the footer.html template file...
WAS_HOME/profiles/profile_name/installedApps/cell_name/feature_name.ear/feature_name.war/templates
..where feature_name.war is one of the following files...
Activities oawebui.war Blogs blogs.war Bookmarks dogear.webui.war Communities comm.web.war Files qkr.share.files.war Home page dboard.war News news.web.war Profiles peoplepages.war Search search.war Wikis qkr.share.wiki.war
The footer.html file is the same for each feature. You only need to make a copy of one instance of the footer.html file.
- Copy footer.html to the doc root of your IHS server. For example...
<IHS-folder>/htdocs/en/my/styles- Open the copy of the footer.html file stored on the IBM HTTP Server in a text editor.
- Determine the section of the footer to which you want to add your link.
- To add a link to your company's help page, edit the Help section...
<td> <ul id="lotusFooterULHelp"> {{ footerlink.help.help }} {{ footerlink.help.forums }} </ul> </td>
Add your company help link to the section by adding the link as an <li> element to the <td> block.
<td> <ul id="lotusFooterULHelp"> {{ footerlink.help.help }} {{ footerlink.help.forums }} <li> <a href="http://www.acme.com/help">Acme Help</a> </li> </ul> </td>
- To add a link to the Tools section of the footer, remove some of the markup in the default footer.html file to ensure that your link appears.
Locate the <th> and <td> blocks for the Tools section, and remove the lconnFooterToolsHeader and lconnFooterToolsCell class attributes. For example, remove these attributes:
<th class="lconnFooterToolsHeader">{{ label.footer.tools.heading }}</th> ... <td class="lconnFooterToolsCell"><ul id="lotusFooterULTools">
<td class="lconnFooterToolsCell"><ul id="lotusFooterULTools"> {{ footerlink.tools.browserplugins }} {{ footerlink.tools.adminpage }} {{ footerlink.tools.metrics }} <a href="http://mylink.com">Custom Link HERE </a> </ul></td>
- Save and close the footer.html file.
- To test whether your link was successfully added to the footer, open the footer.html file that you created in a Web browser by going to the following Web page, for example:
http://server_name.company_name.com/<path-to-style-dir>/footer.html
- Change the value of the style property in the Lotus Connections configuration file to reference the updated version of footer.html.
- Check out the common Lotus Connections configuration file
- Set the style property to point to the new footer file...
LCConfigService.updateConfig("style.footer.url", "http://www.setgetweb.com/style/footer.html") LCConfigService.updateConfig("style.enabled","true")
- To view the change that you made...
wsadmin>LCConfigService.showConfig()- Apply the changes
Customizing the navigation bar and footer
Related tasks
Change common configuration property values
Apply common configuration property changes