Customizing Sigma Web Framework HTML files


This topic describes how to customize HTML files for Sigma Web Framework.

Customizing the header, footer, and helplinks.html files

You can modify the header and footer, add images, banners, links, and special instructions to quickly make the BMC Defender Server reflect the look and feel of you organization.

To customize the Sigma Framework, edit one or more of the following files, located in the installationDirectory\s-html directory. Replace installationDirectory with the directory in which you installed the product. The default directory is C:\Program Files\BMC Software\BMC Defender.

  • s-header.html—The content of the s-header.html file is displayed at the top of each page. By default, the header file that comes with the Sigma Framework is blank, displaying a generic header and referencing a generic style sheet. 
    The s-header.html file can reference JavaScript includes, special style sheets, and other essential components that are added to the <head> portion of an HTML document. Header files are output using the SG_output_html() function of Sigma, so they can potentially contain Sigma macro definitions (as described previously). You can also set the Sigma scheduler to rewrite the macro configuration files periodically to make these pages dynamic.
  • s-footer.html—The content of the s-footer.html file is displayed at the bottom of each page, as a last step on the page creation. By default, the footer file that comes with the Sigma Framework contains the copyright notice of the program. You can add additional items to the footer, such as links to other locations.
  • helplinks.html—The content of the helplinks.html file is displayed to the right of the top-level navigation tabs. You can modify the content to display a link, a small image file, or other HTML. In the BMC Defender Server, this image file executes the More menu.

Customizing the HTML index file

When a user first accesses Sigma, the HTTP server reads the index file for the site as a standard operating procedure. The index file that comes with Sigma immediately redirects that user to the installationDirectory\s-cgi\web.exe program, which triggers HTTP authentication.

A developer can modify this behavior by editing the index.html file, which is located in the installationDirectory\s-html directory.

Specifically, rather than redirecting the user to the web.exe program, the developer can add a link to the index file to access the web.exe program, along with other links to locations of interest within the enterprise.

Note

This behavior will be slightly different if the site server is IIS rather than the default Apache server. In this case, the index file is typically the file "default.htm", and this is the particular file that should be edited by a developer.

In either case, the HTTP index file is available for modification and customization, and is typically replaced of modified in any OEM application, so as to conform to product or corporate specifications.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*