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

Product Box

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-16-2005, 08:24 AM
 
mmaner mmaner is offline
 

Advanced Member
  
Join Date: Apr 2003
Location: Florence, AL
Posts: 50
 

Default Product Box

I have looked all over the forum for a solution to this. I found a few posts that illustrated the problem but no solution.

What I want to do is create a cell structure that includes a Top Cell, Left Cell, Center Cell (This area would hold all of the product data), Right Cell & Bottom Cell.

I have illustarted the layout with the image below.

http://wittrans.net/prod_box.gif

Creating the cell structure is not a problem, but I can't isolate all the Smarty Tags that need to be in place for the products. Alos, is it product_t.tpl that shows the product?

Any help would be appreciated
__________________
***
X-Cart Gold 4.0.13 on Linux RedHat 9 i686
Reply With Quote
  #2  
Old 04-16-2005, 08:57 AM
 
sportruck sportruck is offline
 

Advanced Member
  
Join Date: Dec 2003
Posts: 70
 

Default

/customer/main/product.tpl contains the individual product details. You might want to split your top and bottom images into 3 as well, so you can scale the width as well as the height depending on your layout.
Reply With Quote
  #3  
Old 04-16-2005, 10:19 AM
 
mmaner mmaner is offline
 

Advanced Member
  
Join Date: Apr 2003
Location: Florence, AL
Posts: 50
 

Default

I editied customer/mail/product.tpl to no avail.

I changed
Code:
<TABLE border="0" width="100%">
to
Code:
<table border="0" width="732" background="{$ImagesDir}/dialog_bg.gif">

It did nothing I am rather confused at this point.
__________________
***
X-Cart Gold 4.0.13 on Linux RedHat 9 i686
Reply With Quote
  #4  
Old 04-16-2005, 11:53 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Open up product.tpl in Dreamweaver and you will see how the tables are set up. Also, the 'background' tag is a depreciated tag and should not be used. If you want to set a background image, be sure to use CSS.

Also, the overall width of the site is controlled by rectangle_top.tpl, home.tpl, and product.tpl in that order. Changing the table width in product.tpl may not do anything if it is being overridden by a setting higher up in the heirarchy.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 04-16-2005, 01:05 PM
 
mmaner mmaner is offline
 

Advanced Member
  
Join Date: Apr 2003
Location: Florence, AL
Posts: 50
 

Default

Here's what I have so far, for th elife of me I can figure out how to get the background lined up or get the bottom image in place

http://www.wittrans.net/ecart/home.php?cat=1

I would appreciate any help you guys have to offer. Thanks
__________________
***
X-Cart Gold 4.0.13 on Linux RedHat 9 i686
Reply With Quote
  #6  
Old 04-16-2005, 01:08 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Ohhhhhh....you aren't talking about the product display, you are talking about the whole site! In that case, you should be working on dialog.tpl, that controls the 'box' around all of the content.....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 04-16-2005, 02:26 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

menu.tpl also for the menu areas.
Reply With Quote
  #8  
Old 04-16-2005, 03:35 PM
 
mmaner mmaner is offline
 

Advanced Member
  
Join Date: Apr 2003
Location: Florence, AL
Posts: 50
 

Default

finally got it...

Code:
{* $Id: dialog.tpl,v 1.19 2004/06/24 09:53:29 max Exp $ *} {if $printable ne ''} {include file="dialog_printable.tpl"} {else} <TABLE border="0" cellpadding="0" cellspacing="0" {$extra}> <TR> <TD height="15" width="732" class="DialogTitle" background="{$ImagesDir}/dialog_bg_n.gif" valign="bottom">б═б═:: {$title}</TD> </TR> <TR><TD class="DialogBorder"><TABLE border="0" cellpadding="10" cellspacing="0" width="732"> <TR><TD class="DialogBox">{$content} <TR> <TD height="7" width="732" class="DialogTitle" background="{$ImagesDir}/dialog_bot.gif" valign="top"></TD> </TABLE> {/if}

Now I just have to do the buttons, the CSS Text entries, etc . Thanks for the help
__________________
***
X-Cart Gold 4.0.13 on Linux RedHat 9 i686
Reply With Quote
  #9  
Old 04-16-2005, 05:39 PM
 
mmaner mmaner is offline
 

Advanced Member
  
Join Date: Apr 2003
Location: Florence, AL
Posts: 50
 

Default

Does anyone kknow the CSS entry for 'Sort by: ', 'SKU:' & 'Quantity' on the product listing?

I have looked everywhere and if I start drinking cofee this late in the game I might start using cyan and pink
__________________
***
X-Cart Gold 4.0.13 on Linux RedHat 9 i686
Reply With Quote
  #10  
Old 04-16-2005, 06:31 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

There isn't one...it is called via search_sort_by.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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:20 AM.

   

 
X-Cart forums © 2001-2020