Gossamer Forum
Home : Products : Links 2.0 : Customization :

Descriptions: enable unlimited length

Quote Reply
Descriptions: enable unlimited length
I've looked all over this site and havne't had my question answered so i am posting here.

I just found out that links whose descriptions are longer than 500 chars. are not accepted.

I want to allow unlimited length of description and i will trim them with admin if neccessary.
how can ido this?

It needs to be enabled in both the user add script and the admin add script.

Thanks
Sara

Quote Reply
Re: Descriptions: enable unlimited length In reply to
The easiest thing to do is increase the Description maximum length value to a large number like 10,0000.

Example:

Code:

Description => [5, 'alpha', '40x3', 10000, 0, '', ''],


Unforutunately...it would take a lot of code hacking to allow truly "unlimited" number of characters.

Also, keep in mind, the more data you pile in your links.db file, the less records you can have.

Regards,

Eliot Lee
Quote Reply
Re: Descriptions: enable unlimited length In reply to
thanks,
That will be fine...but where is that tag? in which file? and where abouts in the file?

Quote Reply
Re: Descriptions: enable unlimited length In reply to
This is NOT a tag, but a HASH value...It is located in the links.def file, which I assumed you knew where since you said that you have been looking around the Forum.

Wink

Regards,

Eliot Lee