I wrote simple banner system for the site. They inclusion located in global layout. I made all logic in the partial but that doesn't fit in MVC. And that's haunting me :(
On Jan 21, 2008 5:37 PM, Kiril Angov <[EMAIL PROTECTED]> wrote: > > I think you can only include partials from the global templates/ folder > (because they are simple include_once() statements). Components are > morel like actions and they need to belong to a module. So I guess you > have to use a partial. > > Kupo > > Yuretsz wrote: > > I'm just wondering how to include component from the global > > application layout? > > > > On Jan 20, 2008 5:10 AM, Ant Cunningham <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > > > On Saturday 19 January 2008 5:35:33 pm Kiril Angov wrote: > > > - <?php include_component('module', 'sidebar', array('data', > > $data)) ?> > > > + <?php include_component('module', 'sidebar', array('data' => > > $data)) ?> > > > > Thanks for that catch :-) > > > > > > > > > > > > -- ============================ Regards... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
