Gossamer Forum
Home : Products : Links 2.0 : Discussions :

category and category_name

Quote Reply
category and category_name
On the home.html and category.html templates the system if returning that <%category%> and <%category_name%> respectively are invalid tags? What am I overlooking?

Quote Reply
Re: category and category_name In reply to
<%category%> can be used in both home.html and category.html. <%category_name%> can ONLY be used in the category.html file.

Regards,

Eliot Lee

Quote Reply
Re: category and category_name In reply to
"<%category%> can be used in both home.html and category.html."
Found the problem on this one, toooo many hours in front of the PC.

"<%category_name%> can ONLY be used in the category.html file."
<%category_name%> still shows as an "Unknown Tag" so I switched to <%category_clean%> which works fine.

The Bob



Quote Reply
Re: category and category_name In reply to
You must have category_name => $category_name defined in the sub site_html_category routine in the site_html_templates.pl file in order to use <%category_name%> in the category.html file. <%category_clean%> is much better to use...

Regards,

Eliot