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)
-   -   Html tables in categorie description? (https://forum.x-cart.com/showthread.php?t=11649)

Jerrad 01-22-2005 10:31 AM

Html tables in categorie description?
 
I've red in one of the posting that it's possible to show different images
for categories pages by putting the needed html in admin under the field of categorie description.
So that each categorie page can have his own image.
I've tried it and that works great indeed.

But when I try to add html tables with images and text, all the tables get messed up.
The width of the table changes and the subcategorie listing won't align properly anymore.

Is it simply not possible to insert html tables in categorie description or
am I doing something wrong here?

Any help is more than welcome - thanks in advance!

Rayco 01-22-2005 12:50 PM

Catagory descriptions
 
I had the same problem and found this http://forum.x-cart.com/viewtopic.php?t=14263&highlight=
Cheers

Jerrad 01-22-2005 02:09 PM

Thanks for the reply, Rayco!
But I'm not sure what and how to change it to get rid of the
.
Could you please explain what to do?

Thanks again!

Rayco 01-23-2005 11:18 AM

Catagory HTML
 
This is how I fixed it. I don't know it's the correct way to do it but it works.
skin1/customer/main/subcatagories
replace
Code:

{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace:"/[\n]/":"
"}

{/if}

with
Code:

{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description}

{/if}

Cheers

Jerrad 01-23-2005 11:52 AM

And it works for me also!
Thanks for helping, Rayco :D :D


All times are GMT -8. The time now is 09:00 AM.

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