Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Unknown Tag: category

Quote Reply
Unknown Tag: category
I've looked and looked and I can't find a reference to this problem.
When I try to add a link from the web site I
get Unknown Tag:category
I've changed my template pages so they look like <%category%> instead of <%Category%>
No good so I changed them back and had a look
in site_html_templates.pl everything looks fine but here it is incase i'm over looking something

my $category = shift;
$category ?
($category = qq~$category <input type=hidden name="Category" value="$category">~) :
($category = &build_select_field ("Category", "$in{'Category'}"));

print &load_template ('add.html', {
Category => $category,
%globals
});

I can add a link in the admin area though with no problem.

any help would be appreciated.



------------------
On-line Canada.com
http://www.on-linecanada.com
Internet Directory & Website Resource Centre
Quote Reply
Re: Unknown Tag: category In reply to
You need to use <%Category%>.

A piece of advice: Category => $category, this means that the first falue is the tag and the second is the reference value.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------