Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Limit in category_def

Quote Reply
Limit in category_def
I was wondering if there is a limit on the amount of data inside of category.def.

It would appear that at field 16, everything stops. For instance, the definition

custom16 => [15, 'alpha', 40, 75, 0, '', ''],

works.

However if I have:custom16 => [15, 'alpha', 40, 75, 0, '', ''],
custom17 => [16, 'alpha', 40, 75, 0, '', ''],
custom18 => [17, 'alpha', 40, 75, 0, '', ''],

And lets say the snippet of the field in category.db looks like:

...You|Like To|Eat Cake

Instead of putting You in 15, Like in 16 and Cake in 17, it will print out:

You|Like To|Eat Cake for custom16 and leave 17 and 18 blank.

This is probably in build.cgi, however I can't seem to find it.

So is there a limit or is there in fact a hard coded value someplace. Any help is appreciated.
Quote Reply
Re: [astralight] Limit in category_def In reply to
I found this:

http://www.gossamer-threads.com/...category.def;#142687

But the page it referenced:

http://www.webmasters-resources.com/...egory_title_mod.html


Does not exist. hopefully the snippet he posted works. :)


Quote Reply
Re: [astralight] Limit in category_def In reply to
Of course, now that i took decode out, all the text files have:

``

before them.



Any ideas?
Quote Reply
Re: [astralight] Limit in category_def In reply to
Im ansering myself today. ;)

The problem seems to be with the "carraige return" in a text field. Easy to get around.