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
Use the class name of the body element in the template name (<pageid>).
A template exception file for the Welcome page.
Modifying a page specific template file
The duplicated template file contains various function blocks that render the final output. The position of these blocks com-
bined with the style files define the presentation of the web site. By inserting HTML and PHP code you can add functions and
information to the page. In some cases you might want to remove unwanted elements from the template, be very careful
when experimenting with this at it might lead to a non working skin.
The following HTML/PHP code was used to replace the text and sidemenu elements of the Welcome page. The content selec-
tion is replaced by an banner image and side menus are added for some quick links and contact information. Note that in this
sample we added style information in-line, typically this information is added to one of the style files (or a custom style file).
The images used in this sample are stored in the folder of the skin.
<div id="content">
<div style="float:left;width:100%;">
<ul style="list-style-type: none;margin:0;" id="banners">
<li style="margin:0 0 1em 0;">
<img src="<? echo generateSkinLocation() ?>/banner-steps.png"/>
</li>
<li style="margin:0 0 1em 0;">
<img src="<? echo generateSkinLocation() ?>/banner-holiday.png"/>
</li>
</ul>
</div>
</div>
<div style="clear:right;float:right;width: 27%;">
<div style="border:1px solid #CDCDCD;">
<p style="
©2010 Objectif Lune Inc - 248 -