[symfony-users] Re: Partial in component

2010-04-01 Thread Manel
Is not a good idea to get a partial in an action, is better in the template. In a component you can include a partial in the template like this: ?php echo include_partial('module/partial', $params)? I use in several components without problem. Manel On 31 mar, 17:23, HAUSa

[symfony-users] Re: Partial in component

2010-04-01 Thread HAUSa
I want to use it in my component (not template) because I have the e- mail layout in there. And the e-mail has to be sent from the component with the Mailer. On 1 apr, 15:19, Manel mmongui...@quesabesde.com wrote: Is not a good idea to get a partial in an action, is better in the template.