Gossamer Forum
Home : Products : Links 2.0 : Customization :

add category fields limit

Quote Reply
add category fields limit
I have added category fields, followed the information provided in the resorces, it all works fine, until I add the 22nd category field and any field after 22 is there a limit to the number of category fields that I can add and use as <%tags%> in templates.

Quote Reply
Re: add category fields limit In reply to
Hi,

What do you mean by category fields?

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: add category fields limit In reply to
I mean that I have added fields to the category database, and information to the site_html_templates.pl and nph-build.cgi files to enable the category fields to be used as <%tags%> in the category.html template

Quote Reply
Re: add category fields limit In reply to
The category names are already available as tags!

<%category_clean%>

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: add category fields limit In reply to
It's not just the category name it's all sorts of stuff hence the number 22+. Does anybody know if there is a limit to the number of category fields that can be used as <%tags%>

Quote Reply
Re: add category fields limit In reply to
As I said, no, as all category names are ALREADY available as a tag.

Code:
<Ętegory_clean%>
There are no limits on tags - you must have made a booboo somewhere.

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: add category fields limit In reply to
I would agree that in theory, that's the case, but in reality doing the same thing over and over, and checking for errors, it isn't happening. Is there something else that could limit it, the number of characters in a single line of script in the .pl or .cgi files?


Quote Reply
Re: add category fields limit In reply to
I honestly can't think of anything.

Someone else may be able to throw a few more ideas your way.

Sorry :[

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: add category fields limit In reply to
As far as I'm aware there isn't a set limit of fields.

If you wanted to use less tags in your templates you could always build more of the page by adding code in site_html_templates instead.

Good Luck!

Glenn
Host Links
http://cgi-resource.co.uk/links