Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

ADDING NEW PART TO CATEGORIES PAGES

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-29-2003, 11:50 AM
 
akyuznet akyuznet is offline
 

Member
  
Join Date: Sep 2003
Posts: 28
 

Default 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
Reply With Quote
  #2  
Old 12-30-2003, 03:31 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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
__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:10 AM.

   

 
X-Cart forums © 2001-2020