7.1
Table Of Contents
- Table of Content
- Overview
- Understanding PrintShop Mail Web
- Getting Started
- The PrintShop Mail Web Interface
- Publishing Workflow
- Ordering Workflow
- New Document
- Order Manager
- Checkout
- Companies
- Users
- Publication Types
- Collections
- Settings
- About
- License
- Roles
- Languages
- Web Design
- Maintenance
- Settings
- Currencies
- Tax Rates
- Shipping Rates
- Calendar
- Production Settings
- User Input Field Defaults
- Output Folders
- Job options
- Printers
- E-mail Settings
- E-mail Addressees
- Managing E-mail Templates
- Modules Settings
- Enabling a MIS connector
- Installed modules
- Properties
- Enabling a Print Production connector
- Installed modules
- Properties
- Requirements
- Configuring the module
- The PayPal Sandbox
- Processing orders
- Requirements
- Configuring the Authorize.net module
- Test mode
- AVS and CCV checks
- Payment page
- Requirements
- Requesting a test account
- Configuring the iDEAL test dashboard
- Configuring the iDeal module
- Requirements
- Configuring the Moneris module
- Test mode
- Requesting a live account
- AVS and CVD checks
- Payment page
- Add a new Module
- Configure a module
- Delete a Module
- XML (eXtensible Markup Language)
- Options
- Sample POST receive script
- Interaction With PrintShop Mail Design
- Introduction to Regular Expressions
- Introduction
- Skinning Guide
- Getting started
- Creating your own skin
- The template file
- HMTL Outline
- Styling
- Key Concepts
- Style organization
- Header
- User information
- Menu bar
- Background
- Overview tables
- Edit forms
- Sub menus
- Special variables
- Variables for template files
- Variables for style files
- Creating page exceptions
- Creating a page specific template file
- Modifying a page specific template file
- DOM manipulation using jQuery
- Launching code on Document Ready
- Populating fields with computed values
- Removing elements from the DOM
- Adding information to the DOM
- Customizing the store front
- Storefront class
- Creating a hierarchical tree
- Adding a live search option
- Copyright Information
- Index
Special variables
In this section we list the special variables you can use in the Template.php and Style.phpfiles.
Variables for template files
These functions can be used in templates files (e.g. Template.php).
setRowsPerPage
The setRowsPerPage function can be used to change the number of rows shown in overview tables. The function can added
to the Template.php file and should be insert before the generateContent function. By default overview tables show 15 rows
per page.
<? setRowsPerPage(25); ?>
<div id="content">
<? if (getFormCount() > 0){ ?>
<? generateContent(); ?>
<? } ?>
</div>
generateString
The generateString function retrieves a language string based on the supplied parameter. It is used to insert language depend-
ent text.
<? generateString(cSystemName); ?>
/* Renders to following text */
PrintShop Web
Custom strings can be added to the language strings. A string is made up of a name and a value, which are seperated by the =
symbol.
cSystemName=PrintShop Mail Web
cAdditionalInfo=PrintShop Mail Web
cFooter=PrintShop Mail Web, www.objectiflune.com
Variables for style files
The PrintShop Mail Web style files (e.g. Style.php) are regular CSS files. Its a PHP file that renders a CSS file. By including the
skin_customization.php line at the beginning of your Style.php file the values entered in the Edit Web Design pages can be
used in your style. Once included special PHP functions can be used to retrieve style information that is entered in the Edit
Web Design page of the companies in PrintShop Mail Web.
©2010 Objectif Lune Inc - 241 -