Can someone shed some light here for me.
I have done everything according to the following threads
http://www.zen-cart.com/forum/showthread.php?t=63813
http://www.zen-cart.com/forum/showthread.php?t=58030
And especially this one http://www.zen-cart.com/forum/showpo...94&postcount=3
but
All failed. Here is what I have in the files I need this working on
First file includes/modules/column_left.php
Code:
// safety row stop
$box_cnt=0;
while (!$column_left_display->EOF and $box_cnt < 100) {
if (in_array($current_page_base,explode(",",'login,checkout_shipping,checkout_payment,checkout_confirmation')) && in_array($column_left_display->fields['layout_box_name'],explode(",",'search_header.php,categories.php,manufacturers.php,whats_new.php,featured.php,specials.php,currencies.php,aweber_sidebox')) ) {
// don't show anything
echo 'base ' . $current_page_base . ' vs ' . $column_left_display->fields['layout_box_name'] . '<br>';
} else {
$box_cnt++;
if ( file_exists(DIR_WS_MODULES . 'sideboxes/' . $column_left_display->fields['layout_box_name']) or file_exists(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $column_left_display->fields['layout_box_name']) ) {
?>
<?php
//$column_box_spacer = 'column_box_spacer_left';
$column_width = BOX_WIDTH_LEFT;
if ( file_exists(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $column_left_display->fields['layout_box_name']) ) {
$box_id = zen_get_box_id($column_left_display->fields['layout_box_name']);
require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $column_left_display->fields['layout_box_name']);
} else {
$box_id = zen_get_box_id($column_left_display->fields['layout_box_name']);
require(DIR_WS_MODULES . 'sideboxes/' . $column_left_display->fields['layout_box_name']);
}
} // file_exists
} // skip sidebox on pages
$column_left_display->MoveNext();
Did not work
Next file
includes/templates/MY_TEMPLATE/common/tpl_main_page.php
Code:
* @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 7085 2007-09-22 04:56:31Z ajeh $
*/
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'login,product_info,product_music_info,document_general_info,product_free_shipping_info,document_product_info,aweber_sidebox,checkout_shipping,checkout_payment,checkout_confirmation'')) ) {
$flag_disable_right = true;
}
Is there something different in 1.3.8a that stops this from working?
We have placed them in the override folders and replaced the original files as well both failed.
Maybe someone has experienced this and can help shine some magic on it to make it work.
We want the left colum not to display during checkout better yet just one sidebox would work which is aweber but it failed to do so the left side will work for us if we can get it to do what we want it to do.
Thanks in advance
Bookmarks