1
kaotik
smarty, templates, tpl and email
  • 2005/6/27 17:15

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I would like to use a tpl file to use as my email template. I've pretty much figured how to use $xoopsTpl->assign to assign all vars and constants. So my question is, how would I bring the tpl file correctly into $xoopsMailer->setToEmails.

Do I also have to declare the tpl file as a template in xoops_version?

2
kaotik
Re: smarty, templates, tpl and email
  • 2005/6/27 17:45

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Through some more research I discovered:

$xoopsMailer->setTemplate('register.tpl');


Just goes to show how great the forum search function is, once you know what to look for

Login

Who's Online

174 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: May 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits