Add a section to the footer 

You can edit the files that control the content of the Lotus Connections footer to add to the footer's functionality. This procedure describes how to add a section to the footer. After adding a section, you can add one or more links to it.


Before you begin

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. To protect this content, it is specified using macros. These items include:

{{footerlink.*}}

{{ label.footer.* }}

{{ root }}


About this task

To add a section to the footer...


Procedure

  1. Make a copy of the footer.html template file. You can access the file from either of the following places:

      <WAS_home>/profiles/<profile_name>/installedApps/
      <cell_name>/<application_name.ear>/
      <application_name.war>/templates

      where <WAS_home> is the directory to which you installed the WAS, <profile_name> is the profile to which you installed one of the Lotus Connections applications, <cell_name> is the cell to which you installed the application, <application_name.ear> is the EAR file name for the application, and <application_name.war> is one of the following files names:

      • Activities: oawebui.war

      • Blogs: blogs.war

      • Bookmarks: dogear.webui.war

      • Communities: comm.web.war

      • Files: qkr.share.files.war

      • Home page: homepage.war

      • News: news.web.war

      • Profiles: lc.profiles.app.war

      • Search: search.war

      • Wikis: qkr.share.wiki.war

      The footer.html file is the same for each application. You only need to make a copy of one instance of the footer.html file.

  2. Add the copy to a directory on the IBM HTTP Server that is publicly addressable by a web browser.

      Note: The default document root location is:

      <IHS-folder>/htdocs/<language_code>

      For example, you might save the file to the following directory:

      <IHS-folder>/htdocs/en/my/styles

  3. Open the copy of the footer.html file stored on the IBM HTTP Server in a text editor.

  4. To add an additional section to the footer, for example, a set of links to your company's web sites, add the following HTML code to the file:

      Heading section:
      <th>{{ label.footer.connections.heading }}</th>
      <th>{{ label.footer.help.heading }}</th>
      <th class="lconnFooterToolsHeader">{{ label.footer.tools.heading }}</th>
      <th class="lotusLast">{{ label.footer.about.heading }}</th>
      <th><Specify your company name here></th>

  5. Because you are adding a link to the end of the list, move the class=lotusLast attribute from the <th> tag that used to be last, which in this case is the {{label.footer.about.heading}} <th> tag, and add it to the <th> tag that you just added. For example:

      Heading section:
      <th>{{ label.footer.connections.heading }}</th>
      <th>{{ label.footer.help.heading }}</th>
      <th class="lconnFooterToolsHeader">{{ label.footer.tools.heading }}</th>
      <th>{{ label.footer.about.heading }}</th>
      <th class="lotusLast">Acme Corporation</th>

  6. Add a <td> block after the <td class="lotusLast"><ul id="lotusFooterULAbout"> code block. Add your link to the <td> block using an <li> element.

      For example:

      Content section:
      ...
      <td>
       <ul>
          <li><a href="http://www.acme.com/">Acme Corporation</a></li>
       </ul>
      </td>
      ...

  7. Cut the class="lotusLast" attribute from the previous <td> block and paste it into the <td> block that you added.

      For example:

      <td>
            <ul id="lotusFooterULAbout">
                  {{ footerlink.about.about }}
                  {{ footerlink.about.connectionsonline }}
                  {{ footerlink.about.submitfeedback }}
            </ul>
      </td>
      <td class="lotusLast">
            <ul>
                   <li><a href="http://www.acme.com/">Acme Corporation</a></li>
            </ul>
      </td>

  8. Save and close the footer.html file.

  9. 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

  10. Apply your changes to the product by changing the value of the style property in the Lotus Connections configuration file to reference your updated version of the footer.html file. To edit the Lotus Connections configuration file...

    1. Check out the common Lotus Connections configuration file by following the steps in the topic, Change common configuration property values.

    2. Set the style property to point to the new footer file using the following command:

        LCConfigService.updateConfig("style.footer.url",
            "http://server_name.company_name.com/<path-to-style-dir>/footer.html")
        LCConfigService.updateConfig("style.enabled","true")

    3. To view the change that you made, enter the following command:

        wsadmin>LCConfigService.showConfig()

    4. Follow the steps in Apply common configuration property changes to apply the changes.

Related tasks
Change common configuration property values
Apply common configuration property changes


   

 

});