Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Unknown Tag

Quote Reply
Unknown Tag
I am getting an error in all my emails I am sending to link owners:

Unknown Tag: <%Category%>

I don't know whether I am missing something here that is real simple, but %Category% does look to be a valid tag to me. Anyone got any ideas.

Regards,




------------------
Clint
----------------------------------
www.AffiliatesDirectory.com
Proud Supporter of Links SQL
----------------------------------




Quote Reply
Re: Unknown Tag In reply to
"category" is not part of the Link record. The ID number is. You'd need to do a look up on the category, then pass that variable explicitly.

The reason for this, is in every other place the link is used, the category is already known.

In the Email template, the link is taken out of the database "naked" as it were, and not associated with a category.

In DB_Utils.pm you'd have to alter the build_new_links sub routine to do something like:

&get_category_name ($rec->{'CategoryID'});

You'd probably want to assign it ot a variable, and then use it in the message that is sent.

I haven't tested it, but that's the idea.