Forum


Calc Builder Support

Calc Builder support
Forums
No se permite escribir sin estar logado. Por favor, login

Language and reset button 18.10.2011 20:33

Ladies and Gentlemen,


I recently purchased your very nice program Calcbuilder and I am just about to write an application. I would like to change the "Calculate" – Button and the Alert window ( Some values are incorrect) in German. Where can I change these parameters? Is it possible to integrate a second button "Reset” to reset input fields.

Many thanks for help!

Re: Language and reset button 18.10.2011 20:34

Hello,
thank you for the feedback. To get german language, we use standard language files, so you should get this file:

joomla\language\en-GB\en-GB.mod_calcbuilder.ini

and copy it to your german folder, renaming it to

joomla\language\de-DE\de-DE.mod_calcbuilder.ini

edit the file to translate all texts required, and at the time your site shows in german, will get the texts from this file.

About reset button, you can include it together with calculate button, but it only can be done editing code, as it's not available by default, get this file:


joomla\modules\mod_calcbuilder\tmpl\default.php


and locate calculate button, toward the end of the file:


< input type="button" id="< ? php echo $seed; ? >calculate" name="calculate".............................


before or after this line you can include reset button, insert this line:


< input type="button" value="Reset" class="cb_button" onclick="$(' < ? php echo $seed; ? >calc_adminForm').reset();" / >

(change value reset for other text if you need it)

that should do the work.
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros