Hello,
first of all great looking new version of CF! I like it, but of course got some questions that i can't solve these days.
1.) PHP code in email template
In CF5 we was able to put PHP code in E-Mail-Template
(i mostly just do a php "include()" in chrono email action and do the rest in a php file, wich chrono takes for sending). But in Version 6 it wont work anymore. I tried the folowwing conditional statements and none of them work (just getting stripped out the mailbody):
and also tried:
None of the above condition is working. For the first one i get the values but the condition is not working.
Isn't it possible to use PHP Code in Mail-Template anymore ?
2) Copy field
I miss the "copy field" and "paste field" buttons or are they gone (designer)?
Thx for helping me out and keep on the good work!
first of all great looking new version of CF! I like it, but of course got some questions that i can't solve these days.
1.) PHP code in email template
In CF5 we was able to put PHP code in E-Mail-Template
(i mostly just do a php "include()" in chrono email action and do the rest in a php file, wich chrono takes for sending). But in Version 6 it wont work anymore. I tried the folowwing conditional statements and none of them work (just getting stripped out the mailbody):
<?php if ({data:name}) : ?>
<p><b>Stand:</b> {data:name}m²</p>
<?php endif; ?>
and also tried:
<?php if ($this->data("name", null)) : ?>
<?php echo $this->data("name"); ?>
<?php endif; ?>
None of the above condition is working. For the first one i get the values but the condition is not working.
Isn't it possible to use PHP Code in Mail-Template anymore ?
2) Copy field
I miss the "copy field" and "paste field" buttons or are they gone (designer)?
Thx for helping me out and keep on the good work!