X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   now I'm totally confused ... rectangle_top.tpl ?? (https://forum.x-cart.com/showthread.php?t=3851)

lizlarry 08-02-2003 05:23 PM

now I'm totally confused ... rectangle_top.tpl ??
 
I am working with the 3 columns (default) layout. I want the top of the page to be one big table (with some little tables inside) It looks like Rectangle_top seems to be making this top of the page 3 colums ....(one column has my big table and then 2 empty columns.

I can't find where this 3 column table is generated from.

(can I dump rectangle top and rectangle bottom?)

or is there a solution to my problem??


My cart is at http://eiga.pair.com/~bosmed/cart/xcart/


thanks,
Liz

ATKOgirl 08-02-2003 06:43 PM

Hi,

What you might be looking for is the head.tpl.

Hope that helps...

ATKOgirl

lizlarry 08-02-2003 06:57 PM

Sorry if I wasn't clear....

My big table is inside the head.tpl that is not a problem ...but instead of it just being inside the table in addition there are two empty columns...which are NOT in the code of head.tpl ...they are being created by rectangle_top.tpl ...but I do not understand how are why rectangle_top.tpl works.

Does that make sense? I've been at this all day and I am completely fried. sleep is good.
Liz

ATKOgirl 08-02-2003 07:04 PM

Hi Liz,

I just looked at the template rectangle_top.tpl. the contents of which are as follows:

Code:

{* $Id: rectangle_top.tpl,v 1.7 2003/04/09 07:41:05 olga Exp $ *}
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%" height="100%">
  <TR>
    <TD valign=top>


Not really anything significant or useful in the template. It really appears to just a "spacer". You could delete it from your template safely if it interferes with your design.

Hope that helps a little more...

:wink:

ATKOgirl

lizlarry 08-03-2003 04:30 AM

Thanks for the help ATKOgirl!

This morning I discovered that indeed there were two extra columns in my head.tpl that shouldn't have been there. I found these out be removing the code in rectangle_top.tpl and rectangle_bottom.tpl and going over head.tpl until my eyes turned red.

Anyway...it looks like rectangle_top.tpl and rectangle_bottom.tpl are just one big container table (one row one column) that all the other templates (tables) are put into.

But no one should delete rectangle_top.tpl without also deleting rectangle_bottom.tpl since that could cause problems, I suppose.

thanks again,
Liz


All times are GMT -8. The time now is 11:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.