Skin Template
The template file is an HTML file in the skin folder. Open this file using Notepad, dreamweaver or any other HTML editing program. When the skin file is uploaded to the web server, the system will read the content and make the necessary replacement to the code on the fly. This way you only have to edit one file to alter the design for your store.
The template file contains several "smart tags" which are used for the code replacement and these should not be changed in terms of their structure but can be moved or removed dependent on your design. The tags, and their functions are as follows:
|
Smart Tag |
Function |
Files Location |
|
xxxBASEURLxxx |
Sets the base Href for the store |
n/a |
|
xxxPAGETITLExxx |
Generates a dynamic page title dependent on where you are in the store, the default title is controlled through the admin area |
n/a |
|
xxxMETADESCRIPTIONxxx |
Generates a dynamic description meta tag where appropiate, the default description is controlled through the admin area |
n/a |
|
xxxMETAKEYWORDSxxx |
Generates a dynamic keyword meta tag where appropiate, the default keywords are controlled through the admin area |
n/a |
|
xxxACCOUNT_MODULExxx |
The account module generates a link for users to follow to login to their account or, when logged in, will display links to their orders. |
includes/modules/account_module.cfm |
|
xxxBASKET_MODULExxx |
The basket module will display the contents of the order basket along with links to the checkout pages when items are added. |
includes/modules/basket_module.cfm |
|
xxxSEARCH_MODULExxx |
The search module generates the code to allow the user to search the store. NB: Ensure you have configured your search options first! |
includes/modules/search_module.cfm |
|
xxxCURRENCY_MODULExxx |
The currency module allows you to display a drop down list of available currencies to display prices in. Currency Configuration settings |
includes/modules/currency_module.cfm |
|
xxxNEWSLETTER_MODULExxx |
The newsletter module allows visitors to instantly subscribe to your newsletter. |
includes/modules/newsletter_module.cfm |
|
xxxDEPARTMENT_MODULExxx |
The department module generates an list of the current departments. |
includes/modules/dept_module.cfm |
|
xxxMANUFACTURER_MODULExxx |
The manufacturer module will display a list of the manufacturers |
includes/modules/man_module.cfm |
|
xxxCMSSYSTEMxxx |
Displays the CMS categories |
includes/modules/cms_module.cfm |
|
xxxCRUMBTRAILxxx |
This tag generates all the crumbtrails throughout the store. |
includes/crumbtrails/inc_crumbtrail.cfm |
|
xxxPAGECONTENTxxx |
The page content tag generates all the necessary code required for that particular page |
To change the location of any of these tags it really is a simple case of moving the tag to the new location and editing the style sheets.
Should you decide to use any images in your design it is advised that you store them in the folder skin/skinimages/ and then create an absolute reference to the image within the template file and/or the stylesheets
Created: November 11, 2008


