|
Overview of templates structure |
|
|
Avactis is designed to make storefront customization as simple as possible. It is possible to modify the design of Avactis using any HTML WYSIWYG editor, e.g. Dreamweaver:
All design themes of Avactis are stored in the "Avactis-themes" folder. You can have as many themes in the "Avactis-themes" folder as you like. For example, the following file is the main file for the "system" design theme: Avactis-themes\system\map.ini The map.ini file is the layout file, if you will open it, you will see its simple structure. For example you will see these sections inside map.ini file: [default] For example, the content of the [default] and [index.php] sections is as follows: [default] [index.php] To move any block from left column to center or right column on the index.php page, move its tag (e.g. <?php MiniCart(); ?>) to the required column in the [index.php] section. The logo, left_column, center_column and right_column values, are the "placeholders" which should be mentioned on the main template of theme. Main templates of the system theme are: Avactis-themes\system\pages\templates\page.template.tpl.html An example of the page.template.tpl.html templates structure: <div class="box page_header"> #logo# is actually this code from the [default] section in the map.ini: logo = "<?php CMSPageContent('logo'); ?>" The design of tags may also be customized using templates or CMS. To modify the content of this tag: <?php CMSPageContent('logo'); ?> To modify the <?php MiniCart(); ?> tag or any other tag from Avactis Tag Library, you should to modify its templates. All templates of Tags are located in the Avactis-themes\system folder. For example Mini Cart templates are located here: Avactis-themes\system\catalog\shopping-cart\minicart\ Note |
© 2004-2010 Pentasoft Corp. Corp. All Rights Reserved.