Gossamer Forum
Home : Products : Links 2.0 : Customization :

customizing adding links

Quote Reply
customizing adding links
Is there a way to have the add.cgi or whatever file to automatically put in the http:// instead of the user typing it into the form?

I can't seem to get rid of this problem with the urls in the add.html form not being read correctly. For some reason it just doesn't like the colon & forward slashes, and always puts % and other characters in it's place.

So I'm hoping maybe doing the above would solve the problem?
Quote Reply
Re: [thriftysearch] customizing adding links In reply to
Are you using a free hosting service? Sometimes their cgi/perl stuff dosen't work quite right...

Since you have this:
Code:
<input type="text" name="URL" VALUE="http://" size="30" maxlength="125">


...then the http:// should already be in the form field, as it comes from the value="http://". Perhaps you could try removing that, leaving you with value="", then try using the add form. But if you are not seeing the http:// in the form now, there is a problem, 'cause the value property should be telling it to put that in.

Also, be sure the form opening <FORM blah blah> and closing </FORM> are not separated by any table stuff; it all should be in the same <TD></TD> cell. And no, upper or lowercase does not matter.

Cany you give us an URL to look at?


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] customizing adding links In reply to
Yes please if you can take a look when you get a chance.

http://www.tutsuite.com/directory
Quote Reply
Re: [thriftysearch] customizing adding links In reply to
Looks like the URL field is the only one using the type="text" bit, try removing that? Also, put the form method back to original.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] customizing adding links In reply to
No it didn't work the original way either, that's why I had changed it to see if that would work. The form method POST doesn't process the form at all so I switched it to GET & that worked, but with the url's are not coming out right.

The only thing I can think of as a solution is to just have people submit from a form that gets emailed and I manually put them in myself through the admin panel. Don't think I want to go through all of that though.

Well we tried. Thanx for the help anyway.

Liz