View Single Post
  #2  
Old 11-22-2005, 06:03 AM
 
Jennifer Martin Jennifer Martin is offline
 

Newbie
  
Join Date: Nov 2005
Posts: 4
 

Default Nevermind

I figured it out.

I used this:

Code:
{php}func_print_r($this->_tpl_vars);{/php}


to view what variables I had available on the page I'm working on.

I saw that the variable [description] was not listed.

So I went to include/categories.php and added

Code:
$sql_tbl[categories].description

to the line:


Code:
if ($short_list) { $to_search = "$sql_tbl[categories].categoryid,$sql_tbl[categories].parentid,$sql_tbl[categories].categoryid_path,$sql_tbl[categories].category,$sql_tbl[categories].product_count,$sql_tbl[categories].description,$sql_tbl[categories].avail,$sql_tbl[categories].order_by";

and the rest is history!

Thanks for all your "help" forum people.
__________________
Xcart version 4.0.16
Reply With Quote