After you have copied your custom templates and sample theme pages to the ShopSite server, the last step required to make your theme available to merchants is to edit the themes.dat file. This file controls the themes that merchants can select from on the Layout & Color Theme screen in the wizard, and in the Preferences section of ShopSite. Besides specifying a page template and color schemes for your theme, you can specify a product template and other page and product fields.
You can make your theme available to all stores in a mall, or to just one store:
Follow these steps to add your theme to the themes.dat file.
To add a new row, go to the end of the file and add a new line above the line that says "EndThemes." On the new line, type the word "Row" then a pipe symbol, then the name of your theme. For example:
EndTheme
EndRow
Row|MyTheme ¬ add this line
EndThemes
An example entry might look like this:
Destination|Pages
Field|Template|MyPageTemplate
Field|Background Color|Green-Blue_2 (#009999)
Field|Link Color|Purple_2 (#000066)
Field|Visited Link Color|Purple_2 (#000066)
Field|Text Color|Black-True (#000000)
Field|Active Link Color|Grey_2 (#999999)
Field|Background Image|none
If you specify a color other than an exact string from the ShopSite color list, it will still work. You can use just the hex value preceded by a pound sign. Any values that you enter will be added to the drop-down list of colors that merchants see.
Field|Text 3|<small>All Sales Final</small>
Any values that you specify will be applied to existing pages when the theme is chosen and to new pages created after that, but the merchant can edit any pages to change the values.
Destination|Products
Field|Template|MyProductTemplate
Note: The product template that you specify here will be applied to existing products and will be the default setting for new products, but the merchant can select other product templates.
Field|Sale On|checked
Destination|Other
Field|Background Color|009999
Field|Link Color|000066
Field|Visited Link Color|000066
Field|Text Color|000000
Field|Active Link Color|999999
Field|Background Image|none
Field|Table Shade Color|000066
Note that for these pages, you enter colors as just the numeric value.
A complete entry for a theme with only two color schemes might look like this:
Row|MyTheme
Destination|Pages
Field|Template|MyPageTemplate
Field|Background Color|Purple_2 (#000066)
Field|Link Color|Burgundy_3 (#990000)
Field|Visited Link Color|Green_1 (#006600)
Field|Text Color|Black-True (#000000)
Field|Active Link Color|Orange-Yellow_1 (#FFCC00)
Field|Background Image|none
Destination|Products
Field|Template|MyProductTemplate
EndTheme
# MyTheme: Earthtones
Destination|Pages
Field|Template|MyPageTemplate
Field|Background Color|Brown-Orange_1 (#CC6600)
Field|Link Color|Purple_2 (#000066)
Field|Visited Link Color|Green_1 (#006600)
Field|Text Color|Black-True (#000000)
Field|Active Link Color|Orange-Yellow_1 (#FFCC00)
Field|Background Image|none
Destination|Products
Field|Template|MyProductTemplate
EndTheme
EndRow
ShopSite Help and Resource Center February 13, 2004 Give Feedback |
© 2007, ShopSite, Inc. ShopSite Shopping Cart Software |