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

Help: (Unkown Tag: Number_of_Links)

Quote Reply
Help: (Unkown Tag: Number_of_Links)
First, let me aplogize for posting this problem in two places. I mentioned it in another thread that I am working thorugh with Alex, but I have doubts that the SQL familiars go back and forth looking at others' problems :)

I am getting an error:

"(Unkown Tag: Number_of_Links)"

Wherever a category or subcategory should appear. How can I fix this?

Thanks as always!

Quote Reply
Re: Help: (Unkown Tag: Number_of_Links) In reply to
The tag that you should be using in the subcategory.html file is <%Number_of_Links%>. Have you changed this field in your Category table??? This tag is defined in the sub site_html_print_cat routine in the HTML_Templates.pm. Have you edited this sub at all?

Regards,

Eliot Lee

Quote Reply
Re: Help: (Unkown Tag: Number_of_Links) In reply to
The only changes I have made are in:

http://www.gossamer-threads.com/perl/forum/showflat.pl?Cat=&Board=LSQLDisc&Number=95388&page=0&view=collapsed&sb=5

Nothing has been done to the table or the template file.

Thanks.

Quote Reply
Re: Help: (Unkown Tag: Number_of_Links) In reply to
Obviously you've made a change to something so you are calling the template before you calculate the "Number_of_Links".

This is not a table variable, but is added to the hash of passed values for each category as it's calculated.

If you can't see where you might have changed it, go back to the original archive of the file, and compare that routine to the one in the original file. You can probably search for "number_of_links" and jump to each area.


http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: Help: (Unkown Tag: Number_of_Links) In reply to
Hi Pugdog,

I just restored my backup and made the changes from it. All seems to work well now... I don't know what I did :)

Thanks for the help!