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!On Wed, Dec 9, 2009 at 2:07 AM, Nicolas GREVET <ngrevet@alteo.fr> wrote:
$view->addScriptPath(APP_DIR."/views/emails");
没有评论:
发表评论