Modifying login page header and footer


You can change the login page header and footer to include elements such as your company name or security warnings.

To modify the login page header or footer

  1. Make a backup copy of the BCAN_DATA/global.properties file.
  2. Open global.properties in a text editor.
  3. Remove the comment directive (#) from the loginHtmlTagHeader or loginHtmlTagFooter line, or both, as indicated in the following code sample: 


    # Specifies header on login page
    #
    # Also includes HTML DIV opening tags which contain the header and footer.
    # Margins can be defined in terms of px(pixel) OR %(percentage)
    #
    # Example of HTML tag format is: <div style="width:100%;background-color:lightgreen;margin-left:0px;margin-right:0px;color:#00427e;font-size:16px;font-weight:normal;text-align:center">DYNAMIC PAGE - HIGHEST POSSIBLE CLASSIFICATIONS</div><div style="width:100%;background-color:lightgray;margin-left:0px;margin-right:0px;color:#00427e;font-size:16px;font-weight:normal;text-align:center">FOR OFFICIAL USE ONLY</div>
    # Default = none/empty
    #
    loginHtmlTagHeader=<p><center><h1>THIS IS MY HEADER</h1></center></p>
    #
    # Specifies footer on login page
    #
    # Example of HTML tag format is as specified for header - login_html_tag_header
    # Default = none/empty
    #
    loginHtmlTagFooter=<p><center><h1>THIS IS MY FOOTER</h1></center></p>
  4. Insert valid HTML for your custom header or footer. The code contains an example. 

    Note

    The HTML code must not be interrupted by line breaks (carriage return or line feed characters). The code sample in Step 3 is wrapped only to fit on the printed page.

  5. Save the file and close the editor.
  6. Restart the server to load the updated global.properties file.
  7. Test the login page in each supported web browser.

 

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