[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/templates/template_default/common/

FolderRemonter  
Filehtml_header.php            [source] [124 lignes]  Common Template outputs the html header. i,e, everything that comes before the \ tag
Filemain_template_vars.php     [source] [25 lignes]   Common Template main_template_vars handler
Filetpl_box_default_left.php   [source] [24 lignes]   Common Template - tpl_box_default_left.php
Filetpl_box_default_right.php  [source] [24 lignes]   Common Template - tpl_box_default_right.php
Filetpl_box_default_single.php [source] [24 lignes]   Common Template - tpl_box_default_single.php
Filetpl_box_header.php         [source] [12 lignes]   Common Template - tpl_box_header.php
Filetpl_columnar_display.php   [source] [44 lignes]   Common Template - tpl_columnar_display.php
Filetpl_footer.php             [source] [67 lignes]   Common Template - tpl_footer.php
Filetpl_header.php             [source] [108 lignes]  Common Template - tpl_header.php
Filetpl_header_test_info.php   [source] [188 lignes]  Common Template - tpl_header_test_info.php
Filetpl_list_box_content.php   [source] [43 lignes]   Common Template - tpl_tabular_display.php
Filetpl_main_page.php          [source] [179 lignes]  Common Template - tpl_main_page.php Governs the overall layout of an entire page
Normally consisting of a header, left side column. center column. right side column and footer
For customizing, this file can be copied to /templates/your_template_dir/pagename
example: to override the privacy page
- make a directory /templates/my_template/privacy
- copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php

to override the global settings and turn off columns un-comment the lines below for the correct column to turn off
to turn off the header and/or footer uncomment the lines below
Note: header can be disabled in the tpl_header.php
Note: footer can be disabled in the tpl_footer.php

$flag_disable_header = true;
$flag_disable_left = true;
$flag_disable_right = true;
$flag_disable_footer = true;

// example to not display right column on main page when Always Show Categories is OFF

if ($current_page_base == 'index' and $cPath == '') {
$flag_disable_right = true;
}

example to not display right column on main page when Always Show Categories is ON and set to categories_id 3

if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {
$flag_disable_right = true;
}
Filetpl_tabular_display.php    [source] [45 lignes]   Common Template - tpl_tabular_display.php


Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics