![]() |
No ideas but I can tell you I have had the same problem in the past and gave up.
|
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? |
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. |
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. |
Thnaks Balinor - I will try that.
|
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:
<table> |
You haven't specified width, cellpadding, cellspacing or anything else in the <table> tag, which you need to do.
|
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:
<table width="100%" border="1" cellspacing="1" cellpadding="1"> I also tried the following with no change either. Code:
<table align="center" width="100%" border="1" bordercolor="#000000" bordercolorlight="#C0C0C0" bordercolordark="#000000" cellpadding="1" cellspacing="1" summary=""> |
Ahhh..found the problem. Have a look at the way the table is rendered by X-Cart:
Code:
<table width="100%" border="1" cellspacing="1" cellpadding="1"> See all those tags in there? You need to make a change to customer/main/subcategories.tpl: replace this: Code:
{$current_category.description|regex_replace:"/[\n]/":" with this: Code:
{$current_category.description} I have that fixed by default in my X-Cart installation file, so I always forget it is in there :( |
All times are GMT -8. The time now is 12:42 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.