CalcBuilder Forum

calcbuilder send by email to error

Usuario moon_808 2012-12-17 12:52:20

Greetings!

I have built my calculator and i've enabled "Show send by email?"
but when i enter an email and click on "send by email":

- an alert window pops up with the html code of the "exit layout" of my calculator
(eg: <table border=" " /><tbody /><tr /> etc.)
- and the email is not sent

any ideas why?

Moonsoft support 2012-12-17 14:12:02

Hello,

This bug is reported and solution will be included in future version. You can solve it by changing few lines of code. In JOOMLA/modules/mod_calcbuilder/tmpl/user.php (line 258) after:

vars.each(function(elem){
elem.inject(form);
});

add the following lines:

var elemTemp = new Element('input').setProperties({
type:'hidden',
name:'task',
value:'sendEmail'
});
elemTemp.inject(form);
elemTemp = new Element('input').setProperties({
type:'hidden',
name:'email',
value:emailValue
});
elemTemp.inject(form);


If you need more help, please place a ticket at Helpdesk in Customer Area.

Sorry for inconveniences. Regards,

Usuario moon_808 2012-12-17 16:08:58

I can wait for the fix, as i prefer it from editiing files, as long as it's coming soon.

Btw, 1 more question: if I want to update from version 2.1.0 to a newer version, will i need to export/import my calculators? or do something else that needs special attention?

thank you in advance for your answer.

Moonsoft support 2012-12-20 19:28:11

Hello,
ok, in case you finally need it before we can release new version, place a helpdesk ticket, and we could attach the modified file just to overwrite.

When installing a new version, or moving calculators among servers, you just have to export the calculators before unistalling, all information is saved that way.

Regards

...
CalcBuilder

Create dynamic calculators

Buy now!
...
Support/development 10 hours

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

Buy now!