Hi,
is a possible to make different php statements on different mail templates?
I have two mail templates and the one should be formatted well for the customer and the other should have a special formatting.
I could't find any special CF Variable to get the different templates!
thanks,
b
is a possible to make different php statements on different mail templates?
I have two mail templates and the one should be formatted well for the customer and the other should have a special formatting.
I could't find any special CF Variable to get the different templates!
thanks,
b
Hi bart6,
The two templates are completely separate, you can edit both of them in any way you like.
Bob
The two templates are completely separate, you can edit both of them in any way you like.
Bob
Yes, I can edit them but I want to make different post processing on them via PHP.
Is this possible?
Is this possible?
oh my gosh.
Now I have it. I can set another variable and show only the variables I want to.
For example:
Thanks.
Now I have it. I can set another variable and show only the variables I want to.
For example:
if (JRequest::getVar('agree', '', 'post')) {
JRequest::setVar('variable1', 'yes', 'post'); // for template 1
JRequest::setVar('variable2', 'YES', 'post'); // for template 2
}
Thanks.
This topic is locked and no more replies can be posted.