Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

now I'm totally confused ... rectangle_top.tpl ??

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-02-2003, 05:23 PM
 
lizlarry lizlarry is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 45
 

Default 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
Reply With Quote
  #2  
Old 08-02-2003, 06:43 PM
 
ATKOgirl ATKOgirl is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 448
 

Default

Hi,

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

Hope that helps...

ATKOgirl
__________________
X-Cart Versions: 4.1.10 and 4.2.0
Reply With Quote
  #3  
Old 08-02-2003, 06:57 PM
 
lizlarry lizlarry is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 45
 

Default

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
Reply With Quote
  #4  
Old 08-02-2003, 07:04 PM
 
ATKOgirl ATKOgirl is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 448
 

Default

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...



ATKOgirl
__________________
X-Cart Versions: 4.1.10 and 4.2.0
Reply With Quote
  #5  
Old 08-03-2003, 04:30 AM
 
lizlarry lizlarry is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 45
 

Default

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:10 AM.

   

 
X-Cart forums © 2001-2020