Gossamer Forum
Home : Gossamer Threads Inc. : Custom Modification Jobs :

Re: Need 2 Script to WorkWith Each other

Quote Reply
Re: Need 2 Script to WorkWith Each other In reply to
You can't call two cgi's with the same submit. You need to incorporate one into the other -- or call the other from the program.

You might want to have card.cgi check to see if there was an $in->param sent, and if so, call the routine to run the newsletter code.

This has been requested several times, and I'm working on some code for NG version that will intercept the final calls to add, modify, etc and check to see if any "other" parameters were set. If so, take some action. You can define the parameter and the action to be taken if that parameter is set.

This is generic -- and requested -- enough that maybe Alex will want to add this into the core code. It's really an upgrade to the plug-in system, where the plug-in dispatch looks for certain parameters (a set up to the dispatch program) and automatically runs code rather than sending it to a plug in. (subtle differences).


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


Subject Author Views Date
Thread Need 2 Script to WorkWith Each other panamajack 4346 Jan 15, 2001, 10:20 AM
Post Re: Need 2 Script to WorkWith Each other
pugdog 4136 Jan 15, 2001, 12:28 PM