Skip to main content
CalcBuilder logo
CalcBuilder Forum

Bug or Future?

User moon_1209

After pressing the calculate button:

The content of the email send to is only the content of the print pref. But without the (Include Form input) and (Include Result) content

The PDF include all information with the same settings.

Moonsoft support

Hi,
its a bug regarding the send email typed by user, not happening with 'send form results to' automatic email. It's now solved and included for next release, in the meantime you can apply this path to have it working on current version:
backup and edit

joomla\components\com_calcbuilder\models\calcbuilder.php

//line 638
function getEnvio(){
$calc=$this->getCalculoWrapper(false);
$mail_content="";


/* YOU CAN COMMENT OUT THIS SECTION
$mail_content=$calc->precalcprint;
$mail_content.=$calc;
$mail_content.=$calc->poscalcprint;*/


//ADD THIS LINE
$mail_content=$calc;
//END PATCH
return $this->getEnvioWrapper(trim(MSHelper::__requestGetVarWrapper('email')),$mail_content,$calc->mail_subject);
}


Regards

User moon_1209

line 1277

...
List Manager

Build different lists for your site

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!