Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / RIGHT COLUMN gone, expand CENTER COLUMN?

RIGHT COLUMN gone, expand CENTER COLUMN?

Locked

Views: 4,684

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
16 Apr 2008, 1:33 AM
#1
jriegert avatar

jriegert

New Zenner

Join Date:
Mar 2008
Posts:
8
Plugin Contributions:
0

RIGHT COLUMN gone, expand CENTER COLUMN?

I removed the RIGHT COLUMN but I can't figure out how to expand
the CENTER COLUMN to take the space of where the RIGHT COLUMN
would be. Please help.. I just can't figure it out. Thanks

:frusty:

http://cowspotbeads.com/catalog/index.php?main_page=index&cPath=65

16 Apr 2008, 1:44 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

Did you set this in the admin > config > layout settings > Column Right Status - Global > set to "0"

16 Apr 2008, 1:46 AM
#3
jriegert avatar

jriegert

New Zenner

Join Date:
Mar 2008
Posts:
8
Plugin Contributions:
0

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

Yes, Column Right Status - Global = 0

16 Apr 2008, 1:57 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

You have apparently edited or replaced a file as looking at your source this is what is there and I have highlighted what is not standard and then posted what is

    <td id="navColumnOne2" class="columnLeft" style="width: 150px"><div align="right"><img src="http://cowspotbeads.com/catalog/includes/templates/classic/images/breadcrumb_star.jpg" width="30" height="20"></div></td>
    <td valign="top"><div id="navBreadCrumb">  <a href="http://cowspotbeads.com/catalog/">Home</a> :: 

Swarovski
</div></td>
    <td id="navColumnTwo2" class="columnRight" style="width: 150px"> </td>

Here is what this should be:

<td id="navColumnOne" class="columnLeft" style="width: 150px">
16 Apr 2008, 2:10 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

This is most likely in your tpl_main_page.php file

16 Apr 2008, 2:13 AM
#6
jriegert avatar

jriegert

New Zenner

Join Date:
Mar 2008
Posts:
8
Plugin Contributions:
0

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

Thanks.. what file is supposed to be edited for this?
includes/templates/template_default/common/tpl_main_page.php?

<td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>"><div align="right"><img src="http://cowspotbeads.com/catalog/includes/templates/classic/images/breadcrumb_star.jpg" width="30" height="20"></div></td>
<td valign="top"><div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div></td>
<td id="navColumnOne" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>"> </td>

Still doesn't seem to be doing anything. Any other ideas?
Thanks for your time.

18 Apr 2008, 9:33 PM
#7
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

I've so been trying to avoid asking but can't believe it is so hard to find after many hours. Not even in the expensive zen manual.......here goes...

Where do I change the center column width? The manual says it can't be done in the admin or the style sheet....but offers no solution.

If I eliminate the right column, change the layout size to "0" for the right column, shouldn't the center column expand to fit the size of my wrapper?

Question also: what other names are there for "center column" as I've searched for an answer under every possiblity.

18 Apr 2008, 9:39 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

athena:

If I eliminate the right column, change the layout size to "0" for the right column
Did you set this in the admin > config > layout settings > Column Right Status - Global > set to "0" ?

18 Apr 2008, 9:44 PM
#9
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

yes....i did mention that above

in three places in the admin layout for column width, right box width and global

this is a test run of the new 1.3.8a

cant recall how i did it before

18 Apr 2008, 9:56 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

A link to your test site

18 Apr 2008, 10:01 PM
#11
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

Kobra, thanks for the quick replay...i did miss that global setting. Thank you...it is working just fine now. Odd, that my rightbox went back to the default somehow as well...but everything is working now.

23 Apr 2008, 1:43 PM
#12
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: RIGHT COLUMN gone, expand CENTER COLUMN?

Just a re-cap for anyone having this trouble.

I went on a merry chase through the code because the manual said that it couldn't be done through the control panel...but, it can;

Ref: ZenCart Manual pg 245 I believe I misread this as it states the center column can not be turned off. It does not explain that by turning off the right or left column it will expand to fill the space so need not be altered through the code.

however, i must have had two tabs opened in IE to the Admin and changed one setting on one and one on the other so that they knocked each other back to the default.

To do the trick, simply changing the right or left column width to "0" in

admin > config > layout settings > Column Right Status - Global > set to "0"
admin > config > layout settings > Column Width - Right> set to "0"