You can customize the modules for column_left and column_right ...
Copy the file:
/inclues/modules/column_left.php
To your templates & overrides directory:
/includes/modules/your_template_dir/colum_left.php
Now add in a bit of code to this by changing the code:
to include this IF statement:
PHP Code:
if ($request_type == 'SSL' && 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')) ) {
// example: 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')) ) {
// don't show anything
//echo 'base ' . $current_page_base . ' vs ' . $column_left_display->fields['layout_box_name'] . '<br>';
} else {
$box_cnt++;
and at the bottom by the MoveNext change the code from:
PHP Code:
} // file_exists
$column_left_display->MoveNext();
To read:
PHP Code:
} // file_exists
} // not on secure
$column_left_display->MoveNext();
Notice in the array that you are listing the sideboxes names separated by commas but without spaces ...
I threw in a few sideboxes to turn off when on secure pages so you could test this ...
Now, for column_right.php ... do the same thing but change the:
$column_left_display->
To read:
$column_right_display->
Bookmarks