Page 1 of 1

Must load module from plugin, mod need know art.parms, catid

Posted: Thu Feb 03, 2011 8:20 am
by bongobongo
Hi

******** UPDATE: **********
Found how to do it:
renderModule has a second parameter $attribs
I just set:
$attribs['catid'] = $row->catid
and then I can use $attribs from within my module... wohaaa
*******************************

I want to load a module from a plugin which is triggered on "onContentAfterDisplay".

Loading of the module is working nicely, but:

I want to get access to article params and article catid, from within the module that is loaded.

What is the best way to make those data accessible from within the module?
Creating some global variables might do it, but it is probably not best way to do it....

Anybody?