KBEC-00108 - Web Server changes to make displays unique

Description

Making changes to the web server displays is a common request.

Plugins provide a way for you to overwrite and customize any display and is the best long term solution.

A short term solution is to modify the Flow provided .php files.

Here are a couple of short display modification examples.

Distinguishing visual tags for multiple web servers

You have multiple web servers running ElectricFlow. How do you know which of the web servers you are on if the GUI presentations all look the same?

Modify any of the following files on the Flow Web server:

  1. Change the text. The file StdFrame.php found in ./apache/htdocs/commander/lib is shared by all UI displays from the individual web server.
    1. Place text before the "Logged in as" text - to include, say the host name of the web server: "On host Production Logged in as".
  2. Change the text color: The file StdStyles.css found in ./apache/htdocs/commander/sytles is shared by all UI displays from the individual web server.
    1. Change the color of the "Logged in as" text by the tag "loggedInMessage in StdStyles.css - to say yellow, "0F0F00".
  3. Change the color of the frame banner: The file frame_bannerBg.gif is found in ./apache/htdocs/commander/lib/images/frame_bannerBg.gif.
    1. Use paint to change the color of the frame banner to say green.

Use the browser refresh to have the change take effect.

Adding text to the login display

You have a company security policy you want all users to see before login.

Modify the following file on the Flow Web server:

    1. Change the text in the file login.php found in ./apache/htdocs/commander
      1. Place text before the "new HtmlSection("<h1>" . ecgettext("Login") . "</h1>\n")," text. For example:
new HtmlSection("<table border=\"1\"><tr><td><h3>Your Security Policy here. <br/>
                   Remainder of Security Policy here.</h3></td></tr></table>\n"),

 

Use the browser refresh to have the change take effect.

Limitations

Changes to login.php, StdFrame.php and frame_bannerBg.gif are not preserved when upgrading ElectricFlow.

 

Have more questions? Submit a request

Comments

Powered by Zendesk