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

Padding between tables.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-07-2003, 07:22 AM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default Padding between tables.

Ok for some reason when looking at a product details the padding goes away between the tables. Now I have tried adding padding on the table under product.tpl but that makes it worse. Also I have taken my product.tpl and went back to the original and it still does it so I am thinking it is somewhere else, It only happens on the product detail page though, no where else.

Here are some links:

This is what its supposed to do. Watch the spacing between middle and the sides:

http://www.saddlemen.com/test_site/xcart/customer/home.php?cat=455


This is what product details does:

http://www.saddlemen.com/test_site/xcart/customer/product.php?productid=2&cat=&page=1


Anyone got any ideas? I have been messing with a number of tpl's to fix this problem but cant find it anywhere.
Reply With Quote
  #2  
Old 11-11-2003, 08:27 AM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default

does no one on here have any ideas on what can be causing this?
Reply With Quote
  #3  
Old 11-11-2003, 10:16 PM
 
shasan shasan is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: Toronto
Posts: 74
 

Default

As Ned Flanders once said, "that's a noodle scratcher. "

You may be looking in the wrong place.
If it does the same thing when you revert to the original, it MUST be the content on that page.

Try emptying out the product details and see if that fixes it. If so, then you know what to tweak.

HTH
shasan.

<edit>better way</edit>
__________________
X-Cart 3.4.2 - Processor: Dual Hamsters, running on tricked out 21\" version of Hamster Wheel. (tireless little buggers)

No hamsters were harmed during the making of this sig. Several were seriously offended.
Reply With Quote
  #4  
Old 11-11-2003, 10:30 PM
 
shasan shasan is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: Toronto
Posts: 74
 

Default

Just thinking, does it happen for other products too? If no, then that particular product's description is the problem. If yes then do all other products have the same detail layout?

I took a look and it looks like you do have a common details layout for all the products. You might want to take a look in that area.
__________________
X-Cart 3.4.2 - Processor: Dual Hamsters, running on tricked out 21\" version of Hamster Wheel. (tireless little buggers)

No hamsters were harmed during the making of this sig. Several were seriously offended.
Reply With Quote
  #5  
Old 11-12-2003, 06:51 AM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default

Yea thats what I thought it was, if I revert to the original product detail tpl it still does it. That is why I am so buffled by this, its got to be somewhere else but it did it when I was messing with the product detail from what I remember.
Reply With Quote
  #6  
Old 11-12-2003, 07:26 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Ok... here is the deal... you need to remove the quote symbol that you have in your descriptions. Instead replace it with word inch or in. What is happening is that by using the double quote character to represent inches, you are throwning off the HTML code.

For instance take the code that displays the image
Code:
[img]../image.php?productid=2[/img]

See.. it is actually thinking that you are closing the alt property after the number 11. Then you have an open quote later before you close the tag. This is really screwing up your HTML. For some reason the double quote is not getting translated to the &quot; equivelant. So, the easiest thing to do is remove the " from the title and descriptions and replace it with the word.

Take a look at this product http://www.saddlemen.com/test_site/xcart/customer/product.php?productid=4&cat=455&page=1 and you will see that it is fine there. No quotes.
Reply With Quote
  #7  
Old 11-12-2003, 08:04 AM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default

Thanks for your responses guys. It ended up being the Related items table that was throwing it all off.

I appreciate all your help.
Reply With Quote
  #8  
Old 11-12-2003, 04:19 PM
 
shasan shasan is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: Toronto
Posts: 74
 

Default

told you so.

Or did I?
__________________
X-Cart 3.4.2 - Processor: Dual Hamsters, running on tricked out 21\" version of Hamster Wheel. (tireless little buggers)

No hamsters were harmed during the making of this sig. Several were seriously offended.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:49 PM.

   

 
X-Cart forums © 2001-2020