CalcBuilder Forum

Bug or Future?

User moon_1209 2013-11-03 15:41:47

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 2013-11-04 12:55:14

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 2013-11-04 15:12:10

line 1277

...
List Manager

Build different lists for your site

Buy now!
...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!