-
PrintShop Web Skinning Guide
-
PrintShop Web Skinning Guide Document version: PSW 2.2 R4300 Date: May, 2008 Objectif Lune - Contact Information Objectif Lune Inc. 2030 Pie IX, Suite 500 Montréal, QC Canada H1V 2C8 Tel.: 514-875-5863 Fax: 514-342-5294 www.objectiflune.com To find an Objectif Lune office near you and for more information on our products and services, visit: www.objectiflune.
-
Table of Contents Introduction................................................................................................................................................. 5 Skinning....................................................................................................................................................... 5 Templates and styles.................................................................................................................................. 6 Getting started...
-
Overview tables....................................................................................................................................... 30 Head...........................................................................................................................................................31 Subhead.....................................................................................................................................................31 Content..............................
-
Introduction With the introduction of version 2.0 the PrintShop Web (PSW) web site is fully skinnable, everything except the actual textual content of the page can - and will - vary from skin to skin. A skin is a series of files that control the presentation of the web site. To allow PSW to be skinnable, style is completely separated from contents. The web page use standard HTML elements, user defined classes and unique IDs.
-
PSW can use different skins for each company, allowing your customers to use the system in their own house style or a style that closely matches their house style (depending on the time and effort you have spend to match there corporate site). Users of that company can access the PSW web site via a personalized URL which will invoke their skin. Personalized URL is controlled by the PSW administrators by defining an URL variable for each company. For example: http:/www.yourprintshopweb.
-
Getting started Creating a skin for the first time can be a daunting and sometimes a time consuming task. This section gives you an overview of useful tools and sources on the web. Creating your own skin Before creating your own skins you should have some basic knowledge of HTML and CSS. There are fine books on these subjects and you will find a lot of information on the web. The web is probably your best source.
-
The style.php file in Notepad++ Browser extensions The toughest part will be to keep your skin compatible with the various browsers and browser versions. You can download and install additional browser extensions that will help you during skin creation. Typically these extensions expose the hierarchical structure of your web page allowing you to identify tag names, ids and CSS classes quickly. These extensions are available for all popular web browsers and can be downloaded for free.
-
The ID and class details are exposed by the Web Developer extension PrintShop Web Skinning Guide | 9
-
File organization Skins are organized under the Templates folder located in the PSW web site folder. Each skin has its own directory tree. The name of this folder will be visible in the Skin-pull down menu in the Web design section of a company and in the web design page in the Settings-menu. Skin folders stores the items required to render a skin and can contain an unlimited number of files and sub folders. A skin consists of the following elements: • • • • Template.
-
Web design parameters By editing the web design settings of a company you can specify company specific colors, fonts and logo. Using special functions a skin can retrieve these parameters and use them in the Style.php file.
-
The template file The Template.php file contains HTML code with a few snippets of PHP. These PHP snippets control the rendering of PSW function blocks on apage by page basis. Examples of functions blocks are: the menu bar, sub menus, the user info bar, the main content area. A sample PSW web page showing various function blocks Function blocks The design and positions of these blocks can be changed by altering the Style.php file and changing the code and its position in Template.php.
-