On Mar 1, 12:08 am, "gerbenzomp" <[EMAIL PROTECTED]> wrote:
> I've been programming in php for years, but I'm relatively new to
> cake. I must say I am amazed at the ease of use and intuïtivity of the
> framework! Mostly things just work the way you expect them to, which
> makes it very easy to work with, and a great pleasure too!
>
> There's also a lot of good documentation, so most questions I had,
> were easily answered. Now i want to do something a little more
> complex, and ran into a problem:
>
> I want to use Cake's plugin-structure to allow for an extendible set
> of, well let's call them "menu-widgets" for the navigation-bar of my
> blog system.
>
> So each "widget" resides in its own folder within the plugins-folder,
> and has its own add/edit/delete methods and views.
>
> But now I want to include the main view (view.thtml) of each widget in
> the sidebar of my blog. Any ideas on how to do that?
The immediate answer would be to use reqesutAction, the (not really
slow) answer is to make use of elements. I wrote about a solution to
this sort of modular design problem on my blog about this only
yesterday (how ironic). http://www.noswad.me.uk/MiBlog/MiniControllers
HTH,
AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---