Gossamer Forum
Home : Products : Links 2.0 : Customization :

URL FIELD - WIDTH CHANGE

Quote Reply
URL FIELD - WIDTH CHANGE
Some URL's occupy more space than is allowed for adding links.

How can I expand the width of the URL field to allow for larger url's such as:

http://links.verotel.com/cgi-bin/showsite.verotel?vercode=4402:9804000000202761
Roberto Perez
Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
 
In your links.def change the folowing bolded number into a larger number.

URL => [2, 'alpha', 40, 75, 1, 'http://', '^http|news|mailto|ftp'],


I hope this helps.

Regards,
Pagla

Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
You need to open links.cfg and change the following line;

URL => [2, 'alpha', 40, 75, 1, 'http://', '^http|news|mailto|ftp'],

to;

URL => [2, 'alpha', 40, xxx, 1, 'http://', '^http|news|mailto|ftp'],

Change xxx with the maximum length for a link you want.

Hope this helps

A.J.Newby
webmaster@Ace-installer.com
http://www.ace-installer.com


Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
In your links.def file find
Code:
# Definition of your database file.
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Title => [1, 'alpha', 40, 75, 1, '', ''],
URL => [2, 'alpha', 20, 75, 1, 'http://', '^http|news|mailto|ftp'],
Date => [3, 'date', 15, 15, 1, \&get_date, ''],
etc
etc
The "width" of the field is actually two numbers. The first number is the width that "shows" on your screen while the second is the maximun number of characters allowable for that field.

From the URL field above the 40 is the number of characters that will show on the screen. If you want to see more of the URL, you can increase the number up to 75 ( You can set it higher than 75 but only enter up to the maximum allowable, 75 in this case ).

From the URL field above the 75 is the maximun number of characters allowable for that field. If you want to be able to enter more than 75, just increase this number.


Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
Is there some kind of 'support competition' today?? Wink

Thomas
http://www.japanreference.com
Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
No competition at all. I just answer the easy ones; that way you gurus can have the time for the hard ones...!

I think all the answers were excellent...!

Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
esm,
I am as far from being a guru as can be, just try to give some input on the easy ones too. Tongue

And the answers were excellent indeed.

Thomas
http://www.japanreference.com
Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
Well, guru or not, you have one hell of a good looking site....

Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
Thanks to all of you!

Roberto Perez
Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
Thomas,
I have to agree with esm, your site is great!. I hadnīt seen it until now. Is there a mod for showing those nice set of updates in your front page?

Roberto Perez
Quote Reply
Re: URL FIELD - WIDTH CHANGE In reply to
Pls check out the thread below. Besides, Glenn posted a lot of these mods on his site. You can find his page through the thread below.

http://www.gossamer-threads.com/...w=collapsed&sb=5

Thomas
http://www.japanreference.com