Andy,
Using requestAction you can invoke any controller/action you want. If in the
future you want to add another module you will have to write the
controller/action for the new module (maybe not related to any existing
controller) and add $this->renderElement('newmodule-name',
$this->requestAction('/controller/action')) wherever you want. If you want
to make the process automatic you can have all the modules info in a DB
table (let's say "modules") and load them dynamically.
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 6/12/07, andy <[EMAIL PROTECTED]> wrote:
>
>
> But I mean for the controller part--
>
> I am hoping to make this where someone could add another "element box"
> in the future WITHOUT having to add code to an existing controller.
> More like a plugin type of thing.
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---