Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

As all of the templates which exist in the \Web\print folder are displayed for selection we suggest that you copy the supplied templates to a backup folder before changing / renaming to suit your requirements.

...

Warning

Please do not change or remove the the 'IDs' or 'CLASS' from any element as this can create problems.

Using the iShare predefined Selectors

There are currently four iShare selectors that you may use within your print template. These selectors may be used as many times as required in the template, we have used three of these in the above example.

...

Info

From v5.4.4 a Display Legend check box will be included in the header of the default templates e.g.

Print the User Name on the PDF output

You may add the user account to the PDF output from iShare GIS e.g.

Image Added

Where ishare is the user name.

In order for this to happen you need to do the following:

  • Save the attached printusername.js into the Web/customer/js folder.

View file
nameprintusername.js
height250

  • Add the following line to the template.html immediately before the </head> entry.
Code Block
<script type="text/javascript" src="../custom/js/printusername.js"></script>