
Originally Posted by
michaeldeng
André,
Thanks for your help on this.
I did not find the latest language file so I tried to change the file: modules/ModuleBuilder/views/view.modulefield.php.
change from :
/*
$field_types = array('varchar'=>'YourField', 'int'=>'Integer', 'float'=>'Decimal','bool'=>'Checkbox','enum'=>'Dro pDown',
'date'=>'Date', 'phone' => 'Phone', 'currency' => 'Currency', 'html' => 'HTML', 'radioenum' => 'Radio',
'relate' => 'Relate', 'address' => 'Address', 'text' => 'TextArea', 'url' => 'Link');
*/
$field_types = $GLOBALS['mod_strings']['fieldTypes'];
to:
$field_types = array('varchar'=>'YourField', 'int'=>'Integer', 'float'=>'Decimal','bool'=>'Checkbox','enum'=>'Dro pDown',
'date'=>'Date', 'phone' => 'Phone', 'currency' => 'Currency', 'html' => 'HTML', 'radioenum' => 'Radio',
'relate' => 'Relate', 'address' => 'Address', 'text' => 'TextArea', 'url' => 'Link');
/* $field_types = $GLOBALS['mod_strings']['fieldTypes']; */
now at least the add field and edit field work now.
I am not sure if there're other impacts.
was this caused by version upgrade?
Thanks Again.
Michael
Bookmarks