A component does not make sense without any module. It has to execute some logic and this logic should be placed in some module (otherwise you should prefer using a partial). When this logic does not match any other used module, then create a new "internal" module, where you place your "global" component.
Am 25.05.2009 um 02:44 schrieb Stephen: > > Hi there, > > I want to put a global (can be used by all modules in one application, > but not belongs to any module) component into a layout.php. Can I do > that? > If I can, where should I put this component file? > > Regards, > Jishi > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---