PHP in Email Template v3.0

hrtrulz 29 Sep, 2008
I can't work out how to have php in the email template in version 3.0.

In v2.x I add the following code to the email template, but with 3.0 wysiwyg editor it rmoves my php code. Can any one help me to get this to work with 3.0?

<?php if($_POST['txtPhone'] != "") echo "<b>Phone</b>: ".$_POST['txtPhone']."<br>"; ?>
Max_admin 29 Sep, 2008
Hi, in the emails setup page, choose the email which you want to switch OFF the editor for, at the Email properties section you can see a switch for the editor for this email's template, note that you must click apply then save the whole form so that page reloads and changes take place!

Regards

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
hrtrulz 29 Sep, 2008
Thanks Max that worked.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger