Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: Adding a Resource

Quote Reply
Re: Adding a Resource In reply to
I've been trying to do that with the auction. In early alpha, there were some problems passing category, which seem to have been fixed in the current versions.

I'll see if I can hack something together on this.

Really, all you should need to do is pass in a 'Preview' parameter, then in the &add_link sub you'd want to exit _before_ you actually add the link, just return, and if 'Preview' set, print the "Confirm" form.

Just remember that if you add any pre-add plug-in hooks, they _will_ get executed on a preview and again on an add... so unless the pre-add hooks are fixing up the data for addition, it's better to do any stuff on the add data in the post-add hooks.



PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://postcards.com/FAQ


Subject Author Views Date
Thread Adding a Resource OnlineMlm 3606 Dec 9, 2000, 11:01 AM
Thread Re: Adding a Resource
Stealth 3485 Dec 9, 2000, 11:38 AM
Thread Re: Adding a Resource
pugdog 3470 Dec 9, 2000, 2:12 PM
Thread Re: Adding a Resource
pugdog 3443 Dec 11, 2000, 1:38 PM
Post Re: Adding a Resource
OnlineMlm 3373 Apr 2, 2001, 10:38 PM
Post Re: Adding a Resource
Alex 3466 Dec 11, 2000, 12:53 PM
Thread Re: Adding a Resource
OnlineMlm 3427 Mar 7, 2001, 7:49 PM
Post Re: Adding a Resource
OnlineMlm 3407 Mar 10, 2001, 6:07 AM
Thread Re: Adding a Resource
OnlineMlm 3353 Apr 7, 2001, 7:24 AM
Post Re: Adding a Resource
Stealth 3322 Apr 7, 2001, 10:43 AM
Post Re: Adding a Resource
pugdog 3322 Apr 7, 2001, 12:44 PM
Thread Re: Adding a Resource
OnlineMlm 3301 May 13, 2001, 8:59 AM
Post Re: Adding a Resource
pugdog 3262 May 13, 2001, 1:44 PM