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

Passing parameters to Plugin function through Admin Interface....

Quote Reply
Passing parameters to Plugin function through Admin Interface....
Hi there...

I know that to call a function of a plugin through the admin interface one must use

'admin.cgi?do=plugin&plugin=AutoValidate&func=ShowReadme'

Is there a way I can also send parameters along with this url to the 'ShowReadme' function?


Sacrifice is not about what you lose,
it is about what you gain in the process.
Quote Reply
Re: [EZFrag] Passing parameters to Plugin function through Admin Interface.... In reply to
Hi,

Depends on what you are trying to do.

You can always do:

admin.cgi?do=plugin&plugin=AutoValidate&func=ShowReadme&extra_stuff=1&bla=foo

..and call with $IN->param('extra_stuff') ...

..etc

..but is that what you mean?

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Passing parameters to Plugin function through Admin Interface.... In reply to
Ooooh, yap.
That's it. Thanks Andy :)


Sacrifice is not about what you lose,
it is about what you gain in the process.