Hello.
I am using the option "Send email to admin on user update". But I want the email to get send only if a checkbox-field in the ad is set.
So if I have a checkbox-field called "ad_mycheckbox", only when this checkbox is set to 1, the mail to admin is sent.
So in controller.php. There is this line:
if ($conf->send_email_on_update == 1)
How do I write to access the field in the ad? I need something like this:
if ($conf->send_email_on_update == 1 && ad_mycheckbox == 1)
I am using the option "Send email to admin on user update". But I want the email to get send only if a checkbox-field in the ad is set.
So if I have a checkbox-field called "ad_mycheckbox", only when this checkbox is set to 1, the mail to admin is sent.
So in controller.php. There is this line:
if ($conf->send_email_on_update == 1)
How do I write to access the field in the ad? I need something like this:
if ($conf->send_email_on_update == 1 && ad_mycheckbox == 1)
Custom Fields
Joomla Version | 3.8 |
PHP Version | 7 |
Product | AdsManager |
Product Version | 3.1.11 |