Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Table in Products Description

Table in Products Description

Locked

Views: 1,257

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
8 Feb 2008, 10:09 PM
#1
marcap avatar

marcap

Zen Follower

Join Date:
Mar 2007
Posts:
106
Plugin Contributions:
0

Table in Products Description

Hi all and sorry for my english,
using zen-cart 1.3.7 I inserted a table in the Product Description field (plus a few new lines in the stylesheet) and able to describe the product as you can see here:

http://vinarius-it.com/zen-cart/index.php?main_page=index&cPath=77_88

I am using now zen-cart 1.3.8 and doing the same thing but as you can see here:

http://marcap.info/lozza/zen-cart/index.php?main_page=index&cPath=1

the results aren't the same ewcept for the "preview" and the "product listing" page.
I already checked the .css and the same lines are in both.
In the working site the Admin>>Configuration>>HTML Editor was set to **NONE
**In the new site I tried both (HTML and Plain Text) with the same results.

Any idea or help will be appreciated 'cause I spent already two days on it.

Here is how it looks like the table I want to insert, very easy thing to do but it is not working!

<table width="100%" border="0" align="center" summary="descrizione vino"> <tr> <td align="center"> Producer: Fattoria di Grignano</td> </tr> <tr> <td align="center"> Grapes: Sangiovese (80%) / Colorino (20%) </td> </tr> <tr> <td align="center"><br><strong> Aged in stainless steel for 1 months. </strong> </td> </tr> <tr> <td align="center">Risotto with vegetables, pasta with ragout sauce. </td> </tr> </table>Thanks

marcap

8 Feb 2008, 10:45 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Table in Products Description

Your v1.3.7 cart was modified to allow HTML to function in product listings. You just need to make the same modification in your v1.3.8 cart's /includes/modules/your_template/product_listing.php file.

You will comment out
zen_clean_html
in two places. Search on that in the forum if you need more instructions.

8 Feb 2008, 11:26 PM
#3
marcap avatar

marcap

Zen Follower

Join Date:
Mar 2007
Posts:
106
Plugin Contributions:
0

Re: Table in Products Description

Thanks for replaying.

I know what you mean by

You will comment out
zen_clean_html

I saw (I think your post) but haven't tried yet.

I will let you know if everything ok or not.

thanks
marcap

EDIT: I am using the template "Sage" but the file you mean is in include/modules/product_listing.php
There is no "Sage" folder. Is it the same?

9 Feb 2008, 5:33 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Table in Products Description

I am using the template "Sage" but the file you mean is in include/modules/product_listing.php
There is no "Sage" folder. Is it the same?
You will create a folder named sage at that location:
includes/modules/sage

And place your edited copy there

Note: look in includes/modules and you will se a classic folder - meaning all files under modules can be overridden (just files - not folders) and any other place you see a "classic" folder

9 Feb 2008, 9:14 AM
#5
marcap avatar

marcap

Zen Follower

Join Date:
Mar 2007
Posts:
106
Plugin Contributions:
0

Re: Table in Products Description

Ok thanks a lot, everything fine.
Now the only problem is that the color of the font (for some lines, not all) it is regnozise but I can live without it!! (or you have any idea?)

Thank again
marcap

9 Feb 2008, 10:17 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Table in Products Description

You still have a layout problem (in Firefox anyway).

10 Feb 2008, 7:46 AM
#7
marcap avatar

marcap

Zen Follower

Join Date:
Mar 2007
Posts:
106
Plugin Contributions:
0

Re: Table in Products Description

Hello
what you saw is the test site that for some reasons have a lots of problems but the real site is working fine, here is the link:

http://www.italianleatherbags.it/index.php?main_page=index&cPath=6_1

thanks again
marcap

10 Feb 2008, 8:17 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Table in Products Description

If you are trying to design in IE - quit!!

Use Fire Fox - Have a look at your site in Fire Fox

Your tables are too wide

11 Feb 2008, 7:29 AM
#9
marcap avatar

marcap

Zen Follower

Join Date:
Mar 2007
Posts:
106
Plugin Contributions:
0

Re: Table in Products Description

I am using FireFox and checking the page/s with all the available browsers for PC and it is ok for me. It is maybe a little too big but don't know yet what the client wants to write in it. But it looks fine for me, no layout problems.

Here is again the link and what I see:
http://www.italianleatherbags.it/index.php?main_page=index&cPath=6_1

[IMG]http://img352.imageshack.us/img352/2917/photo1lx3.th.gif[/IMG]

12 Feb 2008, 6:57 AM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Table in Products Description

Looks fine now in Firefox...