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
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
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.