You can customize a PowerStore theme by editing various API tags in the theme_settings.xml file. This document covers the most common API tags for PowerStore themes.
Each theme (Default, Dark, Purple, and Crazy) has it's own theme_settings.xml file and can be found at [PowerStore root]/webassist/themes/[theme name]/theme_settings.xml. Please note that you must have activated your PowerStore to access these files. If you can't find them on your local machine, check the server where PowerStore is hosted.
<theme_map default="page.dwt.php">
theme_map is the main wrapper for the entire theme. All tags within the theme will be placed within theme_map.
<theme_pages>
theme_pages determines which pages use which template. See theme_page below for information on setting pages to use specific templates.
<theme_page reg="" page="" />
theme_page allows for specifying certain pages or all pages in a directory to use a unique template besides the default template set in theme_map
- Example: reg="/\/admin\//i" for the /admin directory
- Example: reg="/index\.php/i" for the index.php file
<theme_images>
theme_images is where images used in the theme are set. See theme_image below for information on setting images within templates.
<theme_image name="Logo" id="logo" img="headerLogo" subfolder="logos" page="templates/index.dwt.php,templates/page.dwt.php" />
theme_image determines individual images used within the theme
<theme_defaults>
theme_defaults is the default settings for the Additional Options for the theme
<theme_default name="Catalog" value="default /">
theme_default sets the default for the two Additional Options options
<wastylegroup value="" name="Global Styles">
wastylegroup groups together styles
<waexposedtags>
waexposedtags hold all waexposedtag entries for the wastylegroup
<waexposedtag name="" tag="" id=""></waexposedtag>
waexposedtag shows the information for each exposed tag within the wastylegroup it's under
<wafonts>
wafonts contains all font information for the theme
<wafontface>
wafontface contains all font families available within the theme. See option below for more information on creating specific font families
<option value=""></option>
option is an entry for each font family that can be used within the theme
</wafontface></wafonts></waexposedtags></wastylegroup></theme_default></theme_defaults></theme_image></theme_images></theme_page></theme_pages></theme_map>
These API tags can be used to customize the most commonly changed theme settings for PowerStore. There are additional tags that can be changed for more customization.
Comments will be sent to the author of this tutorial and may not be answered immediately. For general help from WebAssist, please visit technical support.
Sign in to add commentsYour friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.