Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Removing Left Frame from Products

Removing Left Frame from Products

Locked

Views: 740

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Oct 2008, 6:13 PM
#1
tsweet avatar

tsweet

New Zenner

Join Date:
Sep 2008
Posts:
3
Plugin Contributions:
0

Removing Left Frame from Products

Can anyone help with some advice on removing the left frame. People would already know what product this is. I describe it quite a bit in the product details.

I've checked the table widths and they are less than the width of the available space (of the main content area), but are still hanging over for some unknown reason.

I want to remove the left frame to try getting some more space. I will also need to make the main content area a width of at least 600px.

http://webcast-learning.com/store/index.php?main_page=product_info&cPath=1_2&products_id=3

11 Oct 2008, 9:00 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Removing Left Frame from Products

You can disable the LEFT and / or the RIGHT columns (you call them "frames") for specific page calls, by editing the following file:

includes/templates/template_default/common/tpl_main_page.php

Find the following code - around line 43:-

// the following IF statement can be duplicated/modified as needed to set additional flags
  if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
    $flag_disable_right = true;
  }

Change it to this:-

// the following IF statement can be duplicated/modified as needed to set additional flags
  if (in_array($current_page_base,explode(",",'product_info')) ) {
    $flag_disable_left = true;
  }

SAVE the file to your hard drive first.

Then FTP the saved file to your CUSTOM template:-

includes/templates/YOUR-CUSTOM-TEMPLATE/common/tpl_main_page.php

13 Oct 2008, 12:30 AM
#3
tsweet avatar

tsweet

New Zenner

Join Date:
Sep 2008
Posts:
3
Plugin Contributions:
0

Re: Removing Left Frame from Products

Ok, I did that but still having the issue.

I turned off global left frame some time ago so I'm not sure if this is what it is.

This is how it still appears to me in FireFox:

http://www.webcast-learning.com/images/WCL_Left_Column_Issue.jpg

There is no problem in Internet Explorer.

Perhaps is there a way to remove the product image and title from this page so that it could shift over?