Graphic Identity Program

Web

Updating sites from v3.0 template to v3.1

 

Version 3.1 of the template core HTML file adds a default Print tool in the toolbar for template pages displaying the optional toolbar. When a visitor clicks on the Print tool link, a new window will open displaying the page content formatted for printing. A Print button will also appear above the page content to enable printing.

The Print tool link can be disabled so it will not appear in the toolbar if desired. However, its use is strongly encouraged to provide WSU site visitors a consistent printing interface.

These instructions explain how to add the Print tool function code to a page prior to v3.1.

NOTE: Please check that the Print tool code isn't already present. If it is present, then refer to the "Disabling the Print tool" tab above to learn how to turn the function on and off.

    1.  Add a script inside the <head>

  1. Find
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link rel="shortcut icon" href="http://images.wsu.edu/favicon.ico" />
    <title>Downloads - Web - Graphic Identity Program - Washington State University</title>
    Add The script below after the code above. The script below needs to be placed between <head></head>.
  2. <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link rel="shortcut icon" href="http://images.wsu.edu/favicon.ico" />
    <title>Downloads - Web - Graphic Identity Program - Washington State University</title>

    <script src="http://images.wsu.edu/javascripts/print.js" type="text/javascript"></script>

    </head>

    2.  Add scripts above </body

  1. Find

    </body>
    </html>

    Add The script below needs to be added right above </body>.
    1. <script type="text/javascript">
         // To display the "Print" link pass in true.  To hide the "Print" link pass in false.
         addPrintLink(true);
      </script>
    2. </body>
      </html>

Check that the Print tool function code is present. If it isn't present, then refer to the "Adding the Print tool" tab above to learn how to add it to the template code.

    1.  Find the code to change

  1. The code is located right above the </body> at the bottom of the page's source code.
  2. Find
    <script type="text/javascript">
       // To display the "Print" link pass in true.  To hide the "Print" link pass in false.
       addPrintLink(true);
    </script>

    2.  Turn the function on/off

  1. When the highlighted text below is set to "true" the print function is on. Change the highlighted text to "false" to turn the print function off.
  2. Change
  3. <script type="text/javascript">
       // To display the "Print" link pass in true.  To hide the "Print" link pass in false.
       addPrintLink(true);
    </script>

Life is good at WSU.

Marketing and Creative Services, PO Box 641227, Washington State University, Pullman WA 99164-1227, 509-335-7622, Contact Us