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
l fcFormID, used to redirect the user to a specific edit or submission page. Example: To show the user input/database
input page of a template you will need to call the preview_init_form form and specify the unique ID of the template in
the fnID parameter. The preview_init_form retrieves all information of that template in order to show the correct infor-
mation in the web browser.
l fcWebDesign, this parameter lets you toggle the skin of the web site. The value of this parameter should match the
Design name which can be setup in the Web Design section of a company.
When no fcPageID or fcFormID is specified the site will be directed to the PSW Welcome page. The fnID parameter is used in
conjunction with the fcPageID or fcFormID parameters. When no fcWebDesign parameter is stated the system default skin
will be used.
For security reasons it is recommended to pass parameters to external_login.php via a POST request over HTTPS.
Examples
Examples are included with your PrintShop Mail Web installation and can be found in the webintegration folder of the PrintShop
Mail Web web site folder. The sample below is taken from the index.php stored in the basic folder.
<!-- Sample href -->
<a href="external_login.php?fcUserName=administrator&fcPassword=administrator">Login</a>
<!-- Href with redirect -->
<a href="external_login.php?f-
cUserName=administrator&fcPassword=administrator&fcPageID=storefront_overview">Login</a>
<!-- Sample form -->
<form method="POST" action="external_login.php">
<input type="hidden" name="fcUserName" value="administrator"/>
<input type="hidden" name="fcPassword" value="administrator"/>
<input type="submit" value="Login"/>
</form>
<!-- Sample form including redirect -->
<form method="POST" action="/external_login.php">
<input type="hidden" name="fcUserName" value="administrator"/>
<input type="hidden" name="fcPassword" value="administrator"/>
<input type="hidden" name="fcPageID" value="storefront_overview"/>
<input type="submit" value="Login and Redirect"/>
</form>
©2010 Objectif Lune Inc - 199 -