Gossamer Forum
Home : Products : Links 2.0 : Discussions :

How would I ...

Quote Reply
How would I ...
I'd like to increase the length of the URL field when I enter links into the database.

Some of the links I put into my database are pretty long, and sometimes it cuts the URL in half due to a restriction on the field length.

I am guessing that I will need to alter something in the admin_html.pl file, however I could not see anything that specified the length of data fields.

Any suggestions on how to increase the URL field length Smile

Regards,
Mandi
Quote Reply
Re: How would I ... In reply to
Nope. Just go to your links.def file. Change the maxlength of the URL field to larger than 75 or whatever number is there.

BTW: All fields are defined in the links.def file, which is shared between the add.cgi, modify.cgi, templates, admin_html.pl, etc.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: How would I ... In reply to
Hey Eliot!

Thanks for your help, it would seem I would be lost without you Smile

Mandi