Totally Zenned
- Join Date:
- Jan 2005
- Location:
- USA, St. Louis
- Posts:
- 3,651
- Plugin Contributions:
- 5
Simple Zen Template - Support Thread
MB1:
got it now i'm curious if how you can disable the right side boxes as i only want them to be displayed on the main page
You can wrap the sidebox code in some new php to only be displayed on the home page. Open up includes/templates/simple_zen/common/tpl_main_page.php and find:
<?php
if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
// global disable of column_right
$flag_disable_right = true;
}
if (!isset($flag_disable_right) || !$flag_disable_right) {
?>
replace with:
<?php
if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') or ($current_page!='index' || (int)$cPath>0 )) {
// global disable of column_right
$flag_disable_right = true;
}
if (!isset($flag_disable_right) || !$flag_disable_right) {
?>