Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I do away with the traditional sideboxes

How do I do away with the traditional sideboxes

Locked

Views: 980

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
3 Jun 2007, 4:34 PM
#1
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

How do I do away with the traditional sideboxes

I want my sidebox area on the left side of the page to look like this page:

http://ebed.com/category.php?ver=0&id=1

See how there is no category box? just links where the sidebox would go. I want to place an image there as a background, and have my category links be superimposed onto that image. I want to be able to place ALL of my links in that section, including information, ezpages, etc. I MAY want to place a different image below it for the pages other than product categories.. What kind of dance do I need to do to accomplish it? Thanks in advance folks!

3 Jun 2007, 5:46 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,615
Plugin Contributions:
0

Re: How do I do away with the traditional sideboxes

Change the left sideboxes to use the template the header search uses - it is a "no box" template.

The easiest way to do it is to create an override of the YOUR_TEMPLATE/common/tpl_box_left_default.php using the code from tpl_box_header.php

3 Jun 2007, 5:56 PM
#3
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

Re: How do I do away with the traditional sideboxes

Kim:

Change the left sideboxes to use the template the header search uses - it is a "no box" template.

The easiest way to do it is to create an override of the YOUR_TEMPLATE/common/tpl_box_left_default.php using the code from tpl_box_header.php

Ok I have located the file tpl_box_header.php, but i cannot understand what to do with it. Here are its contents:

<?php /** * Common Template - tpl_box_header.php * * @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: tpl_box_header.php 2982 2006-02-07 07:56:41Z birdbrain $ */ ?> <?php echo $content; ?>

It is just a bunch of commented code?

4 Jun 2007, 5:06 PM
#4
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

Re: How do I do away with the traditional sideboxes

Anyone? I have no clue how to accomplish this, any ideas would be appreciated. I have searched high and low but i do not see anything which tells how to do it...

4 Jun 2007, 5:15 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I do away with the traditional sideboxes

<?php echo $content; ?>

This outputs the value of $content without surrounding it with a box (as I presume tpl_box_left_default.php does).

4 Jun 2007, 5:56 PM
#6
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

Re: How do I do away with the traditional sideboxes

ah, it begins to make sense. thanks..