2009年12月9日星期三

Re: [fw-mvc] Use Zend_Layout for email?

I have actually found that creating an email service in your project where it reads from a database and substitutes out keys is actually simpler and less confusing.  If you have multiple templates there could be many scripts in that one folder. 



Shaun J. Farrell
Washington, DC
(202) 713-5241
www.farrelley.com


On Wed, Dec 9, 2009 at 8:37 AM, Nathan Garlington <garlinto@gmail.com> wrote:
--> Try to add a new script path to load the views from another folder, just for the sake of cleanliness: $view->addScriptPath(APP_DIR."/views/emails");

Thanks for the input! I thought of that as well. I really appreciate all the help. Should have a layout/view based emailing system by the end of the day!


--
regards,

Nathan Garlington
www.tandrtrailer.com


On Wed, Dec 9, 2009 at 2:07 AM, Nicolas GREVET <ngrevet@alteo.fr> wrote:
$view->addScriptPath(APP_DIR."/views/emails");


没有评论: