Welcome, friend! If you are looking for a custom calculator module for Joomla! you are in the right place! Just in three easy steps you can create a great calculator for your Joomla! 1.6+ site and you don't even need to know any PHP, CSS or HTML.

First of all, your calculator needs some fields. The visitors of your site will use them to input the data they want to process.

After defining the input fields you build the formula(s), which allow the calculator to get the correct result(s).

Finally you could write some text explaining the calculator output.

Test your new calculator and if you are satisfied download the generated Joomla! module.

You see it's easy! If you have any problems, you can always ask for help in the Comments section, follow the step-by-step Tutorial, examine the Demo calculators, or just Try again to build the calculator you need.

Average rate is 4.8 / 5Average rate is 4.8 / 5Average rate is 4.8 / 5Average rate is 4.8 / 5Average rate is 4.8 / 5(136 votes)

Do you have any troubles using the site?

Do you like your new calculator? Did you manage to create and install exactly the one you need?

Please, leave your comments and suggestions here:

Andrew

10 December 2013, 12:00
The new version of the Calculator Generator is finally online!

What is new in the v1.2:
- optional reset button
- change date parts in conditional statements
- three types of mail sending:
     auto - every time an user does a calculation a hidden mail is sent to the site owner with the inputs and the results.
     request - the user can click on a button to send his inputs and results to the site owner along with a message and a return e-mail address.
     self - the user can click on a button to send his inputs and the results to his own e-mail address.
You can test the request mail feature here, but if you want to perform real tests with your own calculator you have to install the generated module to your Joomla! site and enter an e-mail address in the module config page!

I am expecting your comments and ideas for the next release.
It will be great if you post here a link to your calculator. It will give me ideas for new features and will help other users to build their calculators.

You can see the comments on the previous release by clicking the link Older Comments in the upper right corner.

Herwin

11 December 2013, 15:04
Hi you did a good job with the mail function (i asked it a few months ago). I think this module has a lot of potention, also for order systems etc.

Andrew

11 December 2013, 19:20
Hi Herwin,
Thank you for the idea and sorry that you had to wait for so long. I am glad you like the feature!

David

12 December 2013, 11:49I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
Dear Andrew,

I have now understood how to use your programme. Quite straight forward even for an ageing vet. However, it does not look the same on my web site. I suspect that it is a conflict in css templates but I would appreciate any instant thoughts that you might have.

http://poultryhealthcentre.com/index.php/consultation-and-shop/109-aviforte

Many thanks,

Clay

12 December 2013, 13:01I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
Andrew,
So far, the program has been wonderful! However, I have run in to one little problem (and it may be due to the fact i'm trying to sort this out at 4am...). I've downloaded the module and can access the PHP and CSS files, however there seems to be no HTML file. can you point me in the right direction to find this?
Thank you.

Andrew

12 December 2013, 17:01
Hi David,
the calculator module is in conflict with your PHCTemplate. To fix this:
1/ open the calculator css file with a text editor:
your_joomla_site / modules / mod_your_calculator_name / tmpl / css / default.css
2/ add this line at the bottom:
#calc form{display: block;}
3/ save and upload the css file to your Joomla! site

Andrew

12 December 2013, 17:06
Hi Clay,
with the Calculator Generator you can create a calculator module for Joomla!.
Joomla! modules don't have html files.

Clay

12 December 2013, 20:54
Thanks for the quick response...As I mentioned, it was extremely late when I found the tool...unfortunately, I didn't realize it was intended only for Joomla applications :( I've been searching high and low for a tool to help me create a custom calculator to imbed on my website and this looked so promising.

David

12 December 2013, 23:02I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Dear Andrew,

I have done as you suggested and this is working fine. All I need to sort now is the email side of things but that is for another day. My grateful thanks.

Marta

13 December 2013, 14:41I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Thanks for the email feature Andrew. It works perfect!!!

Alica

15 December 2013, 14:43I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
great !!

Erwin

28 December 2013, 14:20I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
My wish came true, THANKS.

anonymous

31 December 2013, 13:13I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Just wanna say THANXXXXXXX :)

Tom

02 January 2014, 02:25I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hello Andrew,

I built 3 calculators here
http://www.stairsteps.ca/how-much-does-it-cost.html

After the calculate button has been clicked, if different options are inputted/chosen and the calculate button is clicked once again, The calculator reverts back to the original options.

Not sure if you can help me on this one, but if you can great

Thanks
Tom

Andrew

03 January 2014, 18:00
Hi Tom,
I am sorry but I can't help with this issue. I have tested your calculator on my Joomla site and there was no such problem. May be you have to check your web server options or Joomla installation.

Thomas

03 January 2014, 18:21I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hello,
How can I round up to full integer, meanig what do i have to fill in the boxes math round. I missed this one in school :-)

Andrew

04 January 2014, 10:50
Hi Thomas,
it depends what kind of round do you need. If you want to round 1.2 to 1 select "round" function from the Math tab in the upper right corner. Delete 0 from the left box and click the input field/result/value you want to round.
If you want always to round up (1.2 => 2), select the "floor" function. Delete 0 from the box and fill in the field/result/value you want to round up. Type +1 next to it.

Tom

04 January 2014, 17:41I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Again Andrew,

Thank you for the response, I do appreciate it..
Before I contact my server siteground, who can be rather difficult at times. Please allow me to more accurately describe my issue.

For example, on the staircase calculator just do a basic calculation with little options such as;

Total stair count -> 13
Number of "closed" stairs -> 13
Then Calculate
Result 1235 -> Okay

Scroll back up and select "yes" on radio button -> "Do you want your stringers/skirtboards refaced with hardwood? "
Then calculate again
Result -> 1625 -> Okay

Now replace the "yes" selection with a "No" selection in the same option as just inputted above.
Calculate once again
Result -> 1625 -> Incorrect -> reverted back to calculation directly above. Did not remove option?

I hope this is more clear
Thanks again for the truly fantastic module.

Tom

Andrew

05 January 2014, 19:05
Hi Tom,
I installed one of your calculators here: http://andrewart.net/jcg/test
It's ok, right? May be there is some caching on you site...

Tom

06 January 2014, 06:21I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Yes Andrew................ Thank you...... Sorry about that, pretty green mistake....

maigida

09 January 2014, 06:13
Hi andrew I was try to make this calc but at the end when I tried to test it says; "There is a critical error in the generated calculator. Please, revise your formulas!" Ive simplified my formulas and all but its still not working

Andrew

09 January 2014, 19:47
Hi maigida,
I don't have access to your test calculators. If you want me to check your formulas, please send me your config file (Advanced Actions at the bottom of the generator -> Save a txt config file to your computer -> send me a mail with the file attached).

Maigida

10 January 2014, 16:01
I resolved that issue already Andrew, thanks. I'll like you to see it when am done.

Plamen

14 January 2014, 08:56I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew,
This module works great it's just almost perfect I have only one small problem - when the submit button is clicked result appear but this action return user to the top of the page and must scroll to view calculations...can you help me with this?

Andrew

14 January 2014, 20:17
Hi Plamen,
you are probably using a calculator generated before the latest update. You could download your calculator again or just open:
your_joomla_site / modules / mod_your_calculator_name / tmpl / default.php
and replace this code:
htmlspecialchars(JFactory::getURI()->toString());
with
htmlspecialchars(JFactory::getURI()->toString()).'#calc';

Plamen

14 January 2014, 22:29
Thank you very much Andrew now everything works just perfectly. My site is offline for now, but soon will be online and I will write again to see :) Thanks again!

Paul

26 January 2014, 06:21I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
HI Andrew, i have been using your calculator for almost two years now. here is the link
http://ugunlocked.com/calculator
Now i would like to hide an input field in case it does not apply or simply pre fill it it with N/A when an option is chosen.
The field i want prefilled or hidden when an option is selected is the weight field as it does not always apply .
for example if some one selects Phones which is my first option then the weight field does not apply and should be hidden or prefiled with N/A

The best approach i think is to hide or prefill the weight field as long as it is not part of the formula. for example see the phone formula...
case 1: //phones
if ($varNumCost

Paul

26 January 2014, 06:22
case 1: //phones
if ($varNumCost NumCost+$varNumShipping)+($varNumCost*0.1))*$rate)+100000)*$varNumQuantity;
}
else {
$resResult1=$resResult1+(((($varNumCost+$varNumShipping)+($varNumCost*0.05))*$rate)+170000)*$varNumQuantity;
}

You can see that weight is not in the formula. Now see formula below where weight is required if user selects "my item is not listed here" option

case 29://my item is not listed
$resResult1=$resResult1+((($varNumCost+$varNumShipping)+($varNumCost*0.4)+(6*$varNumWeight))*$rate)*$varNumQuantity;
break;

Andrew

26 January 2014, 19:01
Hi Paul,
to dinamically hide and show fields will require JavaScript and the generated modules don't support it. I am trying to keep the modules as simple as possible so they can be used with different Joomla installations without conflicts with other plugins.

Maigida

07 February 2014, 18:19
Hi Andrew my calculator sometimes fail to return any results at all. I also noticed that when this happens, all the values entered doesn't return with the page after submitting... try my calculator here http://instabuildit.com/index.php/calculators/rc-design

Andrew

09 February 2014, 13:06
Hi Maigida
Did you try the calculator on another site? I tested the module here and it worked fine. May be your web server needs configuration. I can't help you with this because I don't have access to the backend of your site, sorry.

Nemih

09 February 2014, 14:18I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hallo Andrew Thanks for Calculator Generator but could you tell me how to instal it on joomla 2.5 especially after i download the module
I know this is Silly question because i'm still learning on joomla

Thanks Andrew

Andrew

09 February 2014, 19:59
Hi Nemih,
here are two articles about installing a module in Joomla:
http://docs.joomla.org/Installing_an_extension
http://docs.joomla.org/Help25:Extensions_Module_Manager

Maigida

10 February 2014, 10:52I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hello Andrew,
I must say this calc gen. is an invaluable tool. I was able to state so much conditional statements (if) and (if of if). I was able to generate a calc that can interpolate to derive exact value in a table and so on. U're a great guy Andy, I pray I get to donate for this course soon. Meanwhile, I'll like to know if I can request some more functions and ability of the calc?

Peter

11 February 2014, 12:22
Hi.

Thanks for a great module.

I am trying to have the module round up to nearest hundred. If a calculation gives the result=2520, I want to round up to 2600. And If the result is 43240 it should round up to 43300, etc.

Is this possible?

Franck

11 February 2014, 13:04
Hi
thank's for your work ! :D
I've an error on my website.
"Strict Standards: Only variables should be assigned by reference in /htdocs/public/www/modules/mod_calc3299/tmpl/default.php on line 13"
please see it on my test website at : http://www.cdn-medias.fr/index.php/les-tissus
Can you help me please ?

Andrew

11 February 2014, 15:38
Hi Maigida,
Thank you. I am glad you like my Generator.
Please, write here your requests and I will try to include them in the next release.

Hi Peter,
in the last step of the Generator you can define a result format. Choose Numeric and type "-2" in the [Round to (digits after decimal point):] field

Kevin

12 February 2014, 00:49
Hi, love the module but I'm having one issue maybe you can assist me with. When try to place the calculator inside an article that is generated by another module, it doesn't show up. You can see it here, http://www.temputech.com/ click on Profit/Loss Calculator, that's where I expect the calculator to appear. Any help is appreciated!

Franck

12 February 2014, 01:39
Hi Andrew,
My problem have been solved.
On default.php, line 13, I've replaced :
$document = & JFactory::getDocument();
by
$document = JFactory::getDocument();

Andrew

13 February 2014, 15:38
Hi Franck,
I am glad it's ok now.

Hi Kevin,
I can see the calculator on your page. I guess, you managed to solve your issue too.

gav

14 February 2014, 01:04
hi
Is there any simple way to open the results in a new article rather than the div on the same page.

Andrew

14 February 2014, 20:59
No. Sorry, Gav

Kevin

15 February 2014, 02:06
I did get the calculator to work, thanks! Can you shed any light on a formula that I'm having trouble with. Here is an example of what I'm trying to achieve:
A / B = C
D * E = F
C * F = Final Result

First two formulas work fine, but the last step is giving me a 0 every time. Thoughts?

Thanks,
Kevin

Andrew

15 February 2014, 17:41
Hi Kevin,

I don't see any error in your formulas as they are written here. Why don't you try to combine them like this:
(A / B) * (D * E)
Send me your calculator name and I will check the php code.

Kevin

17 February 2014, 17:20I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
The Module name is Profit/Loss Calculator. It's a little more involved than my previous example, but not much. There are basically 3 results I'm trying to get from the calculator, but only the first 2 are working, no sure why. Thanks for helping!

Kevin

17 February 2014, 17:57
Andrew,
Figured out the issue I think. The problem is I'm trying to get 2 results simultaneously, even though the 2nd result needs the 1st result to calculate. I'm having to click the submit button twice to get the result, which I'd like to avoid. Is there a way to make a result field autogenerate?

Thanks again!

Andrew

20 February 2014, 20:19
Hi Kevin,

I took a quick look at your calculator (I am sorry, I have very little time recently) and I didn't understand why did you create Result1, Result2 and Result3 fields? If you don't really need them, remove them and your calculations will be fine.

cronie

21 February 2014, 18:30
Hello,
Is it possible to output 2 separate results with this mod? I am trying to output an X and Z coordinate and the results just get added to each other.

I got the single output working just fine, but I wasn't sure if this supported double outputs

Thanks

Andrew

22 February 2014, 10:54
Hi cronie,
I am not sure I understand your question... Did you click the Add Formula button? You just need to create two formulas if you want to have two results.

VT

23 February 2014, 20:37
Hi, It is a wonderful program, I am wondering if you can add a logarithm function? such as base 10, the common logarithm. Regards, VT

Maigida

24 February 2014, 03:37
Hi Andrew, is it possible to generate the php code for this calculator and use it on a non-joomla site? please help, this would mean a lot to me

Andrew

02 March 2014, 19:57
I am sorry for my late reply!

Hi VT,
Yes, I will add a logarithm function in the next release, but I can't say when it will be online. May be in a couple of months...

Hi Maigida,
No, I don't think you can use the php code on a non-joomla site. You need to know php, but if you do, you won't need a generated code. Sorry.

7pasos

08 March 2014, 19:04I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Oh boy this is a powerfull app, thanks to you i can make a calculator to find in a moth how many days are among selected by the user and calculate then how much will save if takes a package instead spear hours of consulting, formating the response of the calc depending if there could be a save or not. This is great. Congrats again!

Simon

18 March 2014, 14:50
Hi Andrew.
I have been looking for a solution to enable customers to calculate the cost of a printed banner when they input their custom sizes. Is it possible to add function to enable customer to add result to the shopping cart.
Thanks

Andrew

19 March 2014, 23:08
Hi Simon
No, it's too complicated, sorry.

Sue

25 March 2014, 21:23
Hi Andrew....your calc module is great! I'm just doing a simple Handicap calculation (2 input fields) and all looks well on your generator. When I download and install on my local site, the Get Handicap tab partially overlays the second input field. Can you tell me how to get more space between the 2nd field and the tab? I'm veryyyyy new to Joomla and have no coding background but am willing to try. Appreciate your help!!!!

Andrew

26 March 2014, 19:15
Hi Sue,
there is a conflict between the module css and your site template. To fix the problem you can modify your css file:
your_joomla_site / modules / mod_your_calculator_name / tmpl / css / default.css
I could help with the css code if you send me a link to the page with your calculator installed.

Karen

26 March 2014, 21:54I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew,

I have the same problem as Sue. Can you tell me what to change in the ccs file, please?

Sue

28 March 2014, 03:48I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew...I sent an email to the link at the bottom of this page with a snapshot of my webpage (it's a local installation so I can't send you a link). If that isn't enough to determine the problem, please let me know what files you would need. I can send you my template if that helps.

Thanks again for your help!

Andrew

29 March 2014, 09:34
Hi Sue,

I am sorry for late response.
Try adding some margin to the button. Put this line at the bottom of your module css file:
#calc-button {margin-top: 2em;}
It will be best if you publish your site on some test server so I can examine it online.

Hi Karen,
There are many ways to change the css. It will be a really lucky shot if I manage to fix your problem without seeing it

Sue

29 March 2014, 15:38I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Thanks, Andrew:
The "margin-top" change didn't seem to have any affect but I did go to the #calc-button section in the file and made a couple of adjustments there. Changed "font-size" to .9em and "bottom" to -2.3em. It took a little away from the tab appearance of the button but it no longer overlays part of the input field so this will work!
Thanks again for pointing me in the right direction!

Andrew

30 March 2014, 16:58
Hi Su,
I am glad you made it. CSS is quite simple and you shouldn't be afraid to experiment with it.

Maigida

04 April 2014, 10:31
Hi andrew my Calculator at instabuildit.com/index.php/calculators/rc-design#calc doesn't return any results anymore. My users are complaining

Andrew

04 April 2014, 19:44
Hi Maigida,

did you change anything on your site or server? The problem can't be in the calculator itself. The module doesn't change after the initial installation.

Paolo

16 April 2014, 09:46I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hello, I would like to know if this module you can utlizzarlo
and for a schop with complex pricing (print shop) and the price
combine it with the products. Thanks Paul

Andrew

18 April 2014, 19:10
No, sorry!

Donatas

19 April 2014, 04:26I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
Would it be possible to implement a slider like one of possible input options?

Andrew

20 April 2014, 14:45
Hi Donatas,
I am trying to keep the generated module as simple as possible. Sliders or any other kind of animation would require javascript or Flash which could cause conflicts with other templates or modules. That's why I don't have plans to implement sliders or anything outside the standard HTML controls.

olivier.c

24 April 2014, 12:36I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hello,
Great calculator, almost perfect I must say :-) It's exactly what I was looking for.
Though I have a technical question, maybe you couls answer. I use it for a BMI calculator, but when it show there's always a message about "division by zero" on a php file :/
Is there a way I can correct this?
Thanks :)

Andrew

24 April 2014, 23:29
Hi olivier.c

The reason for the warning could be a dividing by an input field. For example: Result = 10 / numFieldX. Your PHP processor decides that numFieldX could be zero (and it is quite right because if the user doesn't fill out the field it will be evaluated as zero) and displays the warning. This won't mess with the calculations but the warning will be displayed.

- You can just turn off the warning (open php.ini file on your server and change the row "display_errors = On" to "display_errors = Off". This is the Joomla recommended value for production sites).

- If you can't edit your php.ini file, modify the calculator by creating a middle result which adds some value to the field you want to divide by. For example: Result1 = numFieldX+1

This will fool the PHP processor to think that Result1 couldn't be zero. Then edit the main formula like this: Result = 10 / Result1 and the warning will be gone. Of course, you have to be careful not to change the final result your calculator will produce.

If you can't be sure the user will always enter a value into the divisor field you have to add a conditional statement to the middle result. Otherwise PHP will display the Division by zero warning in case Result1 becomes zero.

Anthony

26 April 2014, 02:41I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
Excellent.

When will it be available for 3.x

Andrew

27 April 2014, 18:07
Hi Anthony,

the generated modules are comatible with all Joomla 2.5+ versions including 3. If you find any problem installing the module please write and I will try to fix it.

Bomonghani

16 May 2014, 20:25
I installed the module, but there's nothing in it. I don't have an option to create a calculator w/in the back end. Am I missing something?

Andrew

17 May 2014, 14:07
Hi Bomonghani

Yes, you are missing this Step-by-Step Tutorial :)

Kristen

19 May 2014, 08:18I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Love this! Is there anyway to integrate it without joomla? My site is managed by squarespace.

Thanks.

Lukas S.

19 May 2014, 17:31I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi, You are Goooooooooooooooooooooooooooood. Thanks

Luke

19 May 2014, 21:11I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
hi andrew,

thanks for this awesome module, realy help me alot. anyway, i'm just curious, will this module available for joomla 3 ?

Lightbench Tom

21 May 2014, 13:43I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew,

Great little module thanks.

I am using it in quite a simple way to let visitors to the site (not online yet), pick their city from a long list (in UK), and then be told it it is included in a regional offer I am running, or not.

Of course it does the check and outputs two possible texts to inform the visitor of availability. I can add many more cities by editing the config file or the outputted mod_city_test_2.php. Cool!

But I was wondering if you could give me some tips (as a php newby), on how best to modify the module output php files to conditionally jump to a different local url (relative) on the site? That would be very useful, as the visitor wouldn't have to think about what to do next! And also I can much more easily make Google Adword tag triggers for Conversion tracking and all that.

Any ideas would be much appreciated. I have looked through Joomla extensions and yours is the closest (simplest) to possibly doing this sort of conditional jump in a website set of pages.

Thanks.

Andrew

21 May 2014, 15:00
Hi Kristen,
the Generator creates Joomla modules only, sorry!

Hi Luke,
the generated modules are very simple so they are compatible with all Joomla 2.5+ versions and configurations. If you have any problem with Joomla 3, please write and I will try to fix it.

Hi Lightbench Tom,
the easiest way I can think of, is to add a link to your relative url in the result text. (Like this: Please go to <a href="url with Google tag">this page</a>) You could also use javascript to redirect the user automatically but it's a little more complicated.

Luke

23 May 2014, 19:34I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew,

I tested the custome module on my joomla 3 website and it run perfectly... thanks again for this awesome module.

Jay

08 June 2014, 21:54
Hi Andrew,

I try to calculate a huge number by division
Result4 = mod (700901001234567890131400 ; 97)

The right answer would be 90 but I always get a 0.

Is there a limit for the division?

Thanks a lot!

Andrew

11 June 2014, 14:37
Hi Jay,

yes, there is a limit in php math functions. If you need to calculate large numbers:
1/ ask your server administrator to install BCMath PHP library (or GMP)
2/ open your_joomla_site / modules / mod_your_calculator_name / mod_your_calculator_name.php and replace the modulus functions (number1 % number2) with bcmod(number1, number2)

Paije

11 June 2014, 18:44
Can the latest release be used on Joomla! 3.3 sites?

Andrew

11 June 2014, 19:41
Hi Paije,

yes, I think so. Please, try it on a Joomla 3.3 and tell me if there are any problems.

Paije

11 June 2014, 21:04
Hi Andrew,
I am having trouble figuring out how to put in my formula correctly. I have it written down but do not understand how to create the condition statement as you describe in your tutorial. Is this something you can help with?

Andrew

12 June 2014, 11:33
Hi Paije,
you could paste your formula here and I will try to explain it step-by-step.

Max

24 June 2014, 11:28
Hi
Is it possible to make the required fields?
Thanks in advance

Andrew

25 June 2014, 17:16
Hi Max,
what do you mean by "required"? The user not to be able to click the submit button - no, this is not possible, because it will require javascript. You could insert a warning in the result - if the field is 0 a red message (for example) appears "Please fill all the required fields". Take a look at this demo calculator.

Max

25 June 2014, 20:41
Thanks!

Jürgen

30 June 2014, 00:26I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Great extension. I have the problem that the 5 options are shown underneath each other instead of horizontal. Can I change that in the default.css of the module and how? (http://www.hauszweitannen.de/Joomla10/index.php/de/ueber-empathie/empathie-test)
2) As I have 12 questions with the same 5 options, can I copy the first 5 options to the other 11? (I tried the copy command but then could not change "ifB" to "ifA".

Andrew

01 July 2014, 10:02
Hi Jürgen,
Try adding this code to the default.css file:
div#calc li.calc-input fieldset.radio label {float: left;}

To copy and edit the questions:
Save a config file (from Advanced Actions at the bottom of the page)
Open it with a text editor and examine it. Copy and edit the code inside.
Upload the config file to the Generator.

Jürgen

01 July 2014, 11:19I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Great, worked!

erand

15 July 2014, 11:24I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Awsome module :)
my prob is a litle bit wierd, i cant get to show the module in any of my pages , actually i am in WAMP local host
and i would apreciate it if you would help me in how to show and use the module in the front page, i have it in backend as a module calc5680 and i am using joomla 3.3

erand

15 July 2014, 12:50
i found the way :)
if any one wondering this is the link http://docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F
talks how to put a mudule inside an article

Kelsey

17 July 2014, 16:05I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
I would like to give 5 stars.
But i'm missing one option...

I'd like my uders to enter a name so i know who entered the form.
(it is used internally, so only my employees can use it)

Is there a way you can alter the field into a text field instead of a Num field?
It has to be shown in the results as well.
If i try it now it wil display 0

Or should i change some PHP in default.php or mod_my_name.php
(preg_match / srt_replace / preg_replace modifications perhaps??)

Please let me know how to get it to work.

Andrew

19 July 2014, 19:40
Hi Kelsey,
you can't just replace a line of code in this case, sorry. If you know a little php you could try to modify the module yourself and if you break it, just download it again.

Phil

22 July 2014, 17:04
Hello, I have created a formula as needed and downloaded the module. I am having a problem that that date selector boxes are not showing the date selected on Joomla 3.3.1. I thought it might be a width problem with my side panels but I tried using it in the main body and the dates did not show up as well. Do you have any idea on how to fix this?

frank

22 July 2014, 19:51I rate this service with: Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5
excellent, already you understood, but to load it into joomla not is as doing so, would have way to make a video explaining loading it in page, we would help very much, thank you

frank2

22 July 2014, 19:57I rate this service with: Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5
is there way to that instead the window of the value to manipulate after the calculator, instead of being blank left with an initial example a zero value, as not to put a value it gives me errors and I have to put the value of zero