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

449 user(s) are online (373 user(s) are browsing Support Forums)


Members: 0


Guests: 449


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits