[ 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/ -> tpl_main_page.php (sommaire)

Common Template - tpl_main_page.php Governs the overall layout of an entire page<br /> Normally consisting of a header, left side column. center column. right side column and footer<br /> For customizing, this file can be copied to /templates/your_template_dir/pagename<br /> example: to override the privacy page<br /> - make a directory /templates/my_template/privacy<br /> - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php<br /> <br /> to override the global settings and turn off columns un-comment the lines below for the correct column to turn off<br /> to turn off the header and/or footer uncomment the lines below<br /> Note: header can be disabled in the tpl_header.php<br /> Note: footer can be disabled in the tpl_footer.php<br /> <br /> $flag_disable_header = true;<br /> $flag_disable_left = true;<br /> $flag_disable_right = true;<br /> $flag_disable_footer = true;<br /> <br /> // example to not display right column on main page when Always Show Categories is OFF<br /> <br /> if ($current_page_base == 'index' and $cPath == '') {<br /> $flag_disable_right = true;<br /> }<br /> <br /> example to not display right column on main page when Always Show Categories is ON and set to categories_id 3<br /> <br /> if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {<br /> $flag_disable_right = true;<br /> }<br />

Copyright: Copyright 2003-2006 Zen Cart Development Team
Copyright: Portions Copyright 2003 osCommerce
License: http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
Version: $Id: tpl_main_page.php 6564 2007-07-05 20:35:51Z drbyte $
Poids: 179 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers



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