print_template()().jpg

What does this file do?

This file should be a "screen shot" or icon that represents the output of a printable brochure. This .JPG file corresponds to an HTML template of the same name.

By default, there are three of these files: Together, these pairs of files produce a printable brochure, and an "Preview" or "Thumbnail" image of the brochure. When a visitor clicks to open the printable view of an item, they will see a page which allows them to choose which style of brochure they'd like to print.



Permissions and Security

Server

These files may inherit the permissions from their parent folder; but at the very least it requires that the IUSR_<localmachinename> (or equivalent) user account have NTFS permissions to read the file.

For comprehensive NTFS file/folder permission settings, please see File/Folder Security (NTFS Permissions).

Internal

This file does not require internal security measures.

How to Maintain

These files do not require maintenance. However, if you have created new HTML templates for printable brochures, then you may want to keep a local copy of the both the HTML and JPG files associated with those brochures.

Included In (Files)

These files are required by the f-print.asp page.

Other Features

You'll notice that the .JPG image files have information within the parenthesis ()().

The first pair of parenthesis indicates the main category for which these brochures belong.

The second pair of parenthesis indicates the "name" or "title" of the brochure.

For Example
If the HTML template and .JPG thumbnail are named:

print_template(Default)(1)

Then the brochure will be available by default to all main categories and the brochure will be named "1", as in:


Brochure 1
If the HTML template and .JPG thumbnail are named:

print_template(ResidentialHomes)(Single Image View)

Then the brochure will be available to the main category called "Residential Homes" and the brochure will be named "Single Image View", as in:


Brochure Single Image View
Note that the name of the main category (in the first pair of parenthesis) must be altered to exclude "non-word characters". For more information, visit 'Code-Friendly' Names in the glossary.
The parenthesis in the file names for the printable brochure HTML templates and the associated .JPG files must not be left empty. You must enter appropriate information or you may encounter errors. For example, the name "print_template()().html" is not valid.

How to Customize

  1. Build or re-create an HTML template for your brochure according to print_template()().html
  2. Produce a "screen-shot" or screen-capture of the new brochure in use on your web site. (Or make an example file filled with example data).
  3. Upload the new HTML template to the templates folder. And upload the new screen-shot to the images folder.
  4. Repeat as you please to create as many brochures as necessary.
In the following example, you can see that three additional templates/thumbnails have been created and the visitor can now select from a total of six brochures to print.



Warning

If you must access this file using another product or software, do so at your own risk; such activity is not supported by our license agreement and may void 20/20 Application's technical support obligations.

Related topics


© 2005 - 2007 20/20 Applications. All rights reserved.