sugarcrm

How to hard code the where condition in list view ,basic search,advance search in sugar CE

不羁岁月 提交于 2019-12-12 16:37:06
问题 Actually i am new to sugarcrm and zend frame work too .if anything not able to understand my following question means comment here . Now I am go for my query actually .i need to add custom where clause in query .so i followed this one its works only for general list view when i use search or advance search its fetching all values .so how to add HARD CODE the where condition in search and advance search in case module i don't want list the value " where source_c not like 'Social media'"; in

How can i write key value pair in array in another php file

…衆ロ難τιáo~ 提交于 2019-12-12 05:37:15
问题 i have one phpfile let,xyz.php and from this file i have to update another phpfile let its name,abc.php how can i do this to achieve my desired output. xyz.php <?php //need code for update $GLOBALS['app_list_strings']['ip_list'] array present in xyz.php ?> abc.php $GLOBALS['app_list_strings']['ip_list']=array ( '192.168.1.51' => 'server1', // i have to add key and value pair here just like above from xyz.php ); ?> 回答1: Within xyz.php , use require or include to access the variables defined in

Can we create custom logs files in Sugar CRM through its own methods?

跟風遠走 提交于 2019-12-12 04:54:01
问题 Actually I work on a Sugar CRM package which is for Sugar On Demand. In this package Sugar CRM On Demand does not allow file handling PHP functions But I want to create separate log files for my package. Is there a way in Sugar CRM to create our separate Custom log files through Sugar CRM internal libraries without disturbing Sugar CRM default logs. 回答1: You can use the great proposition from Jason, however if you want to stay on your idea to have your own logger you can try that : https:/

Adding new option in the action button of sugarCRM

僤鯓⒐⒋嵵緔 提交于 2019-12-12 02:49:07
问题 I am fairly new to the sugar but a pro at php. I am trying to add an option "Print" in the action button/dropdown at the Contacts list view of the sugarCRM but cannot find its code. Any help would be highly appreciable. Thanks, tanay 回答1: Here's a blog post which should help: http://developer.sugarcrm.com/2010/11/22/howto-adding-your-own-listview-action-items/ 来源: https://stackoverflow.com/questions/9259835/adding-new-option-in-the-action-button-of-sugarcrm

Warning: Smarty error: unable to read resource:

拜拜、爱过 提交于 2019-12-12 01:29:14
问题 I installed new version of sugarCRM, and in some page is show up next warning" Warning: Smarty error: unable to read resource: .... I spend a lot of time on web to find solution but with out success, I hope someone can help me. 回答1: I wasn't able to find what triggered this error for me. I looked for any odd register_resource calls but didn't find any. I ended up suppressing the warning. This is for Smarty 2 @@ -1411,7 +1411,7 @@ { $_params = array('resource_name' => $resource_name); - if (!

SugarCRM Custom Query in popup list

我是研究僧i 提交于 2019-12-11 11:23:52
问题 I need to customize the list of element shows in a popupview based on a relation. I have these modules: A->x (one-to-many) A->y (one-to-many) x have a related field to y In detailview of A , a have the subpanels for x and y modules and I can create new x records and y records from quickcreateview. In quickcreateview for y , I have to select by popupview an x element. I have to customize this popupview for showing only x items that have relation with current (this detailview) A record (not all

How to add a field while in edit mode? SugarCRM CE

北慕城南 提交于 2019-12-11 10:03:07
问题 I am using Sugar CRM CE. While in edit view of Opportunities, there is a + button and a - button to add or take away email fields. This allows you to click on the + and add an additional email field while in edit view. How can I add this type of feature to other custom fields? Thanks 回答1: You search for a way to add n related entries in another module. There is no out of the box solution to my knowledge. But I did something similar to integrate multiple fields from another module into a

How To add Auto Increment in module default ID fields Suit CRM

僤鯓⒐⒋嵵緔 提交于 2019-12-11 08:30:42
问题 Is it possible to add auto increment in module default ID field in Suite CRM . ID field contains 36 char type. Is there any settings options available in SuiteCRM ? 回答1: In my experience, the goal of auto-incrmenting fields is usually to create a human-friendly ID field, e.g. Case ID, Quote ID, Account Number. This is different than the CRM system's GUID, though both are effectively unique identifiers. It's is simply that the human-friendly ID field is easier to communicate with colleagues (

Error encountered when creating custom field in sugarcrm

社会主义新天地 提交于 2019-12-11 08:09:51
问题 I got the below warning while trying to create a custom field in sugarcrm. Warning: Creating default object from empty value in C:\xampp\htdocs\Sugarcrm\modules\ModuleBuilder\views\view.modulefield.php on line 151 {"east":{"title":"Edit Field","crumb":"","content":" <\/div>\n\n 回答1: Adjust your php.ini file to set display_errors=Off I've seen this a few times and it usually comes from code-level customization, but not always. Either way, it's the PHP Notice/Warning/Error that's throwing off

SugarCRM SOAP test call fails

懵懂的女人 提交于 2019-12-11 07:01:47
问题 I am attempting to test a SugarCRM Soap connection using the following code: <? define('sugarEntry', TRUE); require_once('include/nusoap/nusoap.php'); $sugarclient = new nusoapclient('http://www.mycrmurl.com/soap.php?wsdl',true); echo $sugarclient->call('test', 'test string'); ?> Unfortunately, the test call returns NULL. Thoughts on how to begin troubleshooting? 回答1: I'm not familiar with a SugarCRM SOAP method called test , so unless it's a custom method you made yourself, I'd try with some