New Zenner
- Join Date:
- May 2007
- Posts:
- 7
- Plugin Contributions:
- 0
Removing Sideboxes from ALL EZ Pages
I started by trying this:
https://www.zen-cart.com/tutorials/index.php?article=249
However, it didnt work. I have the sidebox "Search" turned on right now, and it shows on everything! Here is my code:
<?php
/**
* search sidebox - displays keyword-search field for customer to initiate a search
*
* @package templateSystem
* @copyright Copyright 2003-2005 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: search.php 2834 2006-01-11 22:16:37Z birdbrain $
*/
if (!isset($ez_page_id) || !in_array($ezpage_id,explode(",",'1,2,3,4,5,6,7,8,9,10')))
{
require($template->get_template_dir('tpl_search.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_search.php');
$title = '<label>' . BOX_HEADING_SEARCH . '</label>';
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>