Forum OpenACS Development: Re: Category Description

Collapse
2: Re: Category Description (response to 1)
Posted by Brian Fenton on
Hi Iuri

not that I am aware of. I don't think get_name is much use to you either as that uses the categories nsv, which I doubt holds the description info.

If you have the category_id and the locale, the following should be sufficient to get the description.

set category_description [db_string get_desc "select description from category_translations where category_id = :category_id and locale = :locale" -default ""]

hope that helps
Brian