Hello,
my english is not very good. I need a drop down custom field with select account. so similarly as "Member of". can you help me with an tip.
best regards
Werner
Hello,
my english is not very good. I need a drop down custom field with select account. so similarly as "Member of". can you help me with an tip.
best regards
Werner
i dunno. Does this help?
If you have access to the ADMin, then go to Studio, there you can customize some stuff. i've yet to figure out my problem.
you can add a customer field at
1. Admin > Studio > Edit Module > Select module that you want to add in the customer field > Edit Drop Down
Add in your custom drop down here in advance
2. Click on Continue Wizard > Edit Layout
On your right hand side you will see Toolbox (if you didn't see means that you have hide it, click on the arrow button to
un-hide it) now click on Add Custom Field add in your field and remember drag your field from the toolbox to the form
Take note: you need to add in the field to every view that you wish it to be appear else you will see one view have this field but other don't
Hope it help you![]()
Hello,
You have a more powerful way for doing what you want.
Create a new module and in its manifest.php put:
In app_strings.php putPHP Code:$installdefs = array(
'language' => array(
array(
'from'=> '<basepath>/application/app_strings.php',
'to_module'=> 'application',
'language'=>'en_us'
),
'custom_fields'=>array(
array(
'name' => 'school',
'label' => 'School',
'type' => 'varchar',
'max_size' => 60,
'require_option' => 'optional',
'default_value' => '',
'ext1' => '',
'ext2' => '',
'ext3' => '',
'audited' => 0,
'module' => 'Accounts',
),
array(
'name' => 'a_login',
'label' => 'A Login',
'type' => 'varchar',
'max_size' => 25,
'require_option' => 'optional',
'default_value' => '',
'ext1' => '',
'ext2' => '',
'ext3' => '',
'audited' => 0,
'module' => 'Contacts',
),
array (
'name' => 'account_type',
'label' => 'Account Type',
'type' => 'enum',
'max_size'=>25,
'require_option' => 'optional',
'default_value' => '',
'ext1' => 'aleks_account_type_dom',
'ext2' => '',
'ext3' => '',
'audited' => 0,
'module' => 'Accounts',
),
)
);
Consider reading:PHP Code:$app_list_strings['aleks_account_type_dom'] = array (
''=>'',
'School' => 'School',
'District' => 'District',
);
http://www.sugarcrm.com/wiki/index.p...est_definition
This could be helpful to start creating a combo list.
I hope this helps
Regards,
Youssef AOUN
Software Eng.
Dear Werner,
You should check this out. This may help...
http://www.sugarcrm.com/forums/showthread.php?t=7728
Cheers!
________
Design host
Last edited by manish.joshi; 2011-04-30 at 11:15 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks