Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [RELEASED] Bad Link Reporting Plug-in

Quote Reply
Re: [RELEASED] Bad Link Reporting Plug-in In reply to
Hi,

Just a small comment about the plugin (looks good by the way!):

In your table you add, if you make LinkID a foreign key to Links.ID, then whenever a link is removed, all corresponding entries in the BadLinks table will be erased (keeping it clean). You can do this by saying:

$new_table->fk ( { Links => { LinkID => 'ID' } });

It's FOREIGN TABLE NAME => { YOURCOLUMN => FOREIGN TABLE COLUMN }.

Cheers,

Alex

--
Gossamer Threads Inc.
Subject Author Views Date
Thread [RELEASED] Bad Link Reporting Plug-in pugdog 6245 Feb 28, 2001, 10:49 PM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
ridesworld 6214 Mar 1, 2001, 1:53 AM
Post Re: [RELEASED] Bad Link Reporting Plug-in
pugdog 6172 Mar 1, 2001, 2:22 AM
Post Re: [RELEASED] Bad Link Reporting Plug-in
pugdog 6160 Mar 1, 2001, 2:53 AM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
katabd 6144 Mar 1, 2001, 4:54 AM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
ridesworld 6116 Mar 1, 2001, 5:57 AM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
pugdog 6101 Mar 1, 2001, 12:31 PM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
katabd 6073 Mar 1, 2001, 7:58 PM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
jillbop 6134 Mar 1, 2001, 8:39 PM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
pugdog 6107 Mar 2, 2001, 1:44 AM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
katabd 6155 Mar 2, 2001, 3:55 AM
Post Re: [RELEASED] Bad Link Reporting Plug-in
pugdog 6055 Mar 2, 2001, 7:10 AM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
pugdog 6120 Mar 2, 2001, 7:26 AM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
ridesworld 6100 Mar 2, 2001, 2:27 PM
Post Re: [RELEASED] Bad Link Reporting Plug-in
katabd 6113 Mar 2, 2001, 2:40 PM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
pugdog 6038 Mar 2, 2001, 5:34 PM
Post Re: [RELEASED] Bad Link Reporting Plug-in
ridesworld 6036 Mar 3, 2001, 4:13 AM
Thread Re: [RELEASED] Bad Link Reporting Plug-in
Alex 6116 Mar 1, 2001, 1:27 PM
Post Re: [RELEASED] Bad Link Reporting Plug-in
pugdog 6171 Mar 1, 2001, 5:26 PM