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. > > 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 <jeroen_heeft_behoefte_aan_r...@hotmail.com> > wrote: > > > In an action I can use $this->getPartial('system/email_template'), but > > that doesn't work in an component. > > How can I do this in a component? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 To unsubscribe, reply using "remove me" as the subject.