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)
-   -   ADDING NEW PART TO CATEGORIES PAGES (https://forum.x-cart.com/showthread.php?t=5767)

akyuznet 12-29-2003 11:50 AM

ADDING NEW PART TO CATEGORIES PAGES
 
Hi

i want to add new space to categories pages and i want to take information from mysql database, i created a new row at categories at mysql. It must be like this: $sql_tbl[categories].reviewnew

How can i do that.

it is the part of Product rewiews.

Thanks

funkydunk 12-30-2003 03:31 AM

I believe that in the template where you have placed the $sql_tbl[categories].reviewnew part you will need to replace this with:

Code:

{$current_category.reviewnew}

or

Code:

{$current_category.reviewnew|nl2br}

if you want to replace new lines in your input with
tags

This may put you on the right track :)


All times are GMT -8. The time now is 04:17 AM.

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