Gossamer Forum
Home : Products : Gossamer Links : Discussions :

New Field on Bad Link Plugin

Quote Reply
New Field on Bad Link Plugin
I want to add a field on the Bad Links plugin so the surfer can type in a reason that they are reporting the link as bad.

I added the field to the table (Reason), I added the input text box to the template and it's showing up on the confirm page, but I can't figure out how to get the data into the database. I assume it's done on the bad_link.cgi page somewhere around this part

Code:
$db_bad_links->add ( { LinkID => $id,
URL => $rec->{'URL'},
Title => $rec->{'Title'},
IP => $ENV{'REMOTE_ADDR'}
} );

but I don't know the proper syntax.

Can anyone help?

Thanks in advance.
Subject Author Views Date
Thread New Field on Bad Link Plugin Spacemanspiff 2137 Jul 29, 2007, 4:13 PM
Post Re: [Spacemanspiff] New Field on Bad Link Plugin
Andy 2058 Jul 30, 2007, 2:14 AM