| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Tables in Category Descriptions | ||||
![]() |
|
|||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Greetings,
I have looked all over trying to figure out why the spacing is so far down the page when I insert a table of images in the category description. Here is the link to see the space http://dev.blindsale.net/home.php?cat=248 Here is the code that I placed in the description section of the category. Code:
My therapist always references that it is my fault. Does anyone have any ideas?
__________________
Xcart 4.0.17 GOLD/PRO UNIX |
|||||||
|
#2
|
|||||||
|
|||||||
|
No ideas but I can tell you I have had the same problem in the past and gave up.
__________________
Maree 4.0.13 |
|||||||
|
#3
|
|||||||
|
|||||||
|
Thanks Maree. I had to chuckle about giving up. It is an option I am considering. It would be nice though to be able to have a little gallery of the products to view in that category before selecting it from the listing.
Maybe there is a way of placing the image in the actual menu item of the category. This way they can point, view and click?
__________________
Xcart 4.0.17 GOLD/PRO UNIX |
|||||||
|
#4
|
|||||||
|
|||||||
|
Yes it would be nice.
In my case I was placing a html table detailing Varieties of Quilt Battings, widths, lengths, attributes,prices, and a anchor reference ot the particular product.tpl etc - this was placed in the same position as your images - at the top of a fairly long list of products. My aim was to provide the customer with a quick view comparison of products and click on link. Yes it would be nice good Luck - I'll post here if I work it out.
__________________
Maree 4.0.13 |
|||||||
|
#5
|
|||||||
|
|||||||
|
When you enter code into the product description area, you have to be very careful that the code is written correctly. There are a number of errors/omissions in the code posted above (calling out the table as 0 width, not specifying cellpadding or cellspacing, use of <font> tags, no breaks between lines, etc, no align settings). Certain browsers like IE are tolerant of code mistakes, others (like Firefox) are much more picky
Try cleaning up the code and see if that helps.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#6
|
|||||||
|
|||||||
|
Thnaks Balinor - I will try that.
__________________
Maree 4.0.13 |
|||||||
|
#7
|
|||||||
|
|||||||
|
I placed a simple table in the category description. It still brings the table to far down. If I just use one table row then it works fine. The error occurs when I use multiple table rows. Is there some in the code that I am missing?
Code:
__________________
Xcart 4.0.17 GOLD/PRO UNIX |
|||||||
|
#8
|
|||||||
|
|||||||
|
You haven't specified width, cellpadding, cellspacing or anything else in the <table> tag, which you need to do.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#9
|
|||||||
|
|||||||
|
OK. I added the following with no change in the results. Any other table option that I should be aware of?
Also, thank you for helping out with this. Code:
I also tried the following with no change either. Code:
__________________
Xcart 4.0.17 GOLD/PRO UNIX |
|||||||
|
#10
|
|||||||
|
|||||||
|
Ahhh..found the problem. Have a look at the way the table is rendered by X-Cart:
Code:
See all those tags in there? You need to make a change to customer/main/subcategories.tpl: replace this: Code:
with this: Code:
I have that fixed by default in my X-Cart installation file, so I always forget it is in there
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||