Email Templates in Fuel

edited April 2013 in Share
I understand the way described here how to pass data to views, load the results back into a variable to then deliver as the body of an email message (scroll down to #3 - Leveraging HTML Emails):
http://net.tutsplus.com/tutorials/php/advanced-codeigniter-techniques-and-tricks/

My question is, can I fuelify the email template view files (as a block or page) for editing in the Fuel backend? Will data passed to that view still render in the output?

Erik

Comments

  • edited 5:13PM
    Sure. HTML emails are really just pages.
  • edited 5:13PM
    Would PHP variables still work, they would just be converted to the templating syntax?
  • edited 5:13PM
    Correct. If you are doing it through the CMS then you would need to use the Dwoo syntax.
Sign In or Register to comment.