Hi people,
Version 6.0.0 (Build 3905)
I have added a custom field without using the Studio.
custom/Extension/modules/Users/Ext/Vardefs/UsersVardefs.php
PHP Code:<?php
$dictionary['Users']['fields']['defaulthomepage2_c'] = array (
'required' => false,
'source' => 'custom_fields',
'name' => 'defaulthomepage2_c',
'vname' => 'LBL_DEFAULTHOMEPAGE2',
'type' => 'varchar',
'massupdate' => '0',
'default' => NULL,
'comments' => '',
'help' => '',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => false,
'reportable' => true,
'len' => '255',
'size' => '20',
'id' => 'Usersdefaulthomepage2_c',
'custom_module' => 'Users',
);
?>
and in custom/Extension/modules/Users/Ext/Language/UserLang.php
PHP Code:<?php
$mod_strings [ "LBL_DEFAULTHOMEPAGE2" ] = "Default Home Page";
?>
I then Quick Repair it.
I get the field in the custom/modules/Users/Ext/Vardefs
but its not coming in the cache and also not showing up. cache/modules/Users
any idea or is there another way to do so?
This is working perfectly in Sugar 5.2(Repair Extensions)


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks