View Single Post
  #1  
Old 03-26-2005, 05:46 AM
 
International Living International Living is offline
 

Member
  
Join Date: Mar 2005
Posts: 23
 

Default accessing category description within smarty code?

hey guys

i have some smarty code that works - and outputs the category names and their ids and links.

Code:
{section name=cat_num loop=$categories} {$categories[cat_num].category}: Learn more</p> {/section}

what i want to do is throw the category description in there as well. i had hoped that throwing in this:

Code:
{$categories[cat_num].description}

might do the trick, but apparantly not (it seemed logical). can anyone reveal to me the secret?

thanks in advance,

murray
Reply With Quote