Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

Change size of name field at admin 21.10.2011 14:21

Hello,

Quick question, is it possible to make the name filed in the calculator admin longer? Is there a piece of code I can change?

Re: Change size of name field at admin 21.10.2011 14:22

Yes, you should change code in administrator/components/com_calcbuilder/views/utility/tmpl/edit.php :
- line 228 change
var name = new Element('input').setProperties({type:'text',size:'10',id:'name'+counter,'name':'name'+counter});
to
var name = new Element('input').setProperties({type:'text',size:'20',id:'name'+counter,'name':'name'+counter});

- line 408 change
< input size="10" name="name< ? php echo $counter; ?>" id="name" type="text" value="< ? php echo $field->name; ?>">
to
< input size="20" name="name< ? php echo $counter; ?>" id="name" type="text" value="< ? php echo $field->name; ?>">
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

Our clients' feedback