CalcBuilder Forum

Copy of email send & remove form at results

User moon_1585 2014-04-18 15:32:54

Hi,

I have 2 questions:

1) is it possible to send me a copy (BCC) of the email that a user of my calculator sends to himself?
2) is it possible to remove the form on the page where you show the results?

Thanks in advance!

--Mirjam

Moonsoft support 2014-04-19 10:04:44

Hi,
there's no option to configure a blank copy, but you can introduce a code tweak at the function in charge of sending the email and force a blind copy to your preferred destination. Edit:

joomla\components\com_calcbuilder\models\calcbuilder.php

function getEnvioWrapper ,about line 667 you will find:

$mailer->addRecipient($email);
add this new line below:
$mailer->addBCC("youremailaddress@mail.com");


About removing the form, you can get it adding a javascript instruction in order to hide input section. Go to your calculator configuration->javascript->executed after calculate execution, and add


CB(".cb_form").hide();


This should do the work.

Regards

User moon_1585 2014-04-22 13:23:05

Thanks for your quick reply, it works perfectly!

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!