X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Can Manufacturers page parse HTML? (https://forum.x-cart.com/showthread.php?t=9454)

erit 09-20-2004 12:50 PM

Can Manufacturers page parse HTML?
 
Hello,

Does anybody know how I can get the Manufacturers pages to parse HTML code?

Here's how it's coming up now:
http://www.globeequipment.com/store.new/manufacturers.php?manufacturerid=25

Newbie here... any help would be appreciated!

dol 10-11-2004 12:06 AM

Confirmed: no HTML parsing in manufacturers
 
Yes it would be handy (and CONSISTENT!) to have the description to allow for HTML code.

pinnacle 11-14-2004 06:26 AM

No fixes?
 
I am interested in this too, but so far unable to locate the correct template or section of code.

It looks stupid running all the text together like that. Heck, even if it was a nl2br, I could handle that! I just can't find where to put it.

Gijs 11-14-2004 06:41 AM

:?

pinnacle 11-14-2004 10:08 AM

Frustrating
 
I modified /skin1/modules/manufacturers/customer_manufacturer_products.tpl which looked like the template for displaying the manufacturers and it's products like I found in the product details display to

Code:

<TD valign="top">{$manufacturer.descr|escape:"html"}</TD>

but it did nothing. Can anyone give me some direction on making the manufacturer description parse html tags?

Don't tell me I stumped an expert... 8O

dmr8448 04-10-2005 05:07 PM

Manufacturer parse HTML
 
Here is how to allow HTML code in the manufacturer description:

Modify /skin1/modules/manufacturers/customer_manufacturer_products.tpl

Look for Code:
<TD valign="top">{$manufacturer.descr|escape}</TD>

Change to:
<TD valign="top">{$manufacturer.descr}</TD>

Just remove the "escape"

thumbsatplay 07-07-2005 01:08 PM

Thanks....works very well.


All times are GMT -8. The time now is 06:45 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.