[TYPO3-mvc] fluid as an email template

Dawid Pacholczyk dpacholczyk at gmail.com
Wed Dec 1 08:56:34 CET 2010


Thank you both fior answers :)

Manfred can yuu say something more about your methiod ? Code sample ?

Best regards,
Dawid Pacholczyk

2010/12/1 Manfred Rutschmann <manfred.rutschmann at revier.de>

> Am Tue, 30 Nov 2010 21:16:00 +0100 schrieb Andreas Lappe:
>
> > $view = t3lib_div::makeInstance('Tx_Fluid_View_StandaloneView');
> >
> $view->setTemplatePathAndFilename(t3lib_extMgm::extPath('khorder').'/Resources/Private/Templates/mailService/HtmlMail.html');
> > $view->assign('customer', $customer);
> > $mailContent = $view->render();:
>
> Nice! I use always a controller action and the associated templatefile, wit
> $this->view->render() i grab the content and after the mail is send i used
> the $this->redirect method to call the controller that shows me the page
> "mail is send" or someone else.
>
> Regards Manne
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>



-- 
Dawid Pacholczyk
tel: 502-054-334
gg: 5564051
skype: dpacholczyk
http://typo3blog.pl (only polish version at the moment)


More information about the TYPO3-project-typo3v4mvc mailing list