suitecrm

How can we create side bar without refresh every time in suite crm?

梦想与她 提交于 2021-02-11 12:40:13
问题 I have created one right side bar ,for this I have added the code in this file “themes/SuiteP/tpls/_headerModuleList.tpl” .sidebar . but when i go to one module to another module ,this “sidebar” is refreshing . what I need is I have to create one custom page regarding right sidebar that should not refresh every time ,It should refresh when we do login . where I have to create the custom page . Note : that side bar should show every time like over headers (sales,marketing,activities…etc). How

Populating a field when choosing a relate field _ suite crm

这一生的挚爱 提交于 2021-02-08 08:06:02
问题 i'm using suite crm 7.7.5 when i create an opportunity and i choose an account from a relate field, i want a field (country) to be auto populated with the value of the country of the account chosen. for this, i tried to add the code $dictionary['Opportunity']['fields']['country_c']['populate_list']= array('id','name','country_c'); $dictionary['Opportunity']['fields']['country_c']['field_list'] = array('account_id_c','account_name','country_c'); in the file \custom\Extension\modules

SugarCRM call records REST API

雨燕双飞 提交于 2020-01-15 12:14:35
问题 I am trying to get the call records from my SugarCRM account using the REST API and I am using Python. There I want to obtain all the attendees but all I get is the user to whom the call is assigned. u'assigned_user_id': u'xxxxxxxx', The response I've received is, {u'created_by_link': {u'id': u'1', u'full_name': u'adminx', u'_acl': {u'fields': {u'last_login': {u'write': u'no', u'create': u'no'}, u'pwd_last_changed': {u'write': u'no', u'create': u'no'}}, u'_hash': u'xxxx', u'delete': u'no'}},

Search option is removed after adding Where condition to list view suitecrm/sugarcrm?

人走茶凉 提交于 2020-01-06 13:49:29
问题 I want to customize the list view based on condition so i followed this blog to add where condition in list view Developer Blog From Sugar where clause for sugar list-view pages but after doing this i am not getting search options in my custom list view. Can any one guide me on this? Following is the modified list view(i followed mentioned blog for this) <?php require_once('include/MVC/View/views/view.list.php'); require_once('custom/modules/Contacts/ContactsListViewSmarty.php'); class

Adding javascript include using extension

▼魔方 西西 提交于 2020-01-05 05:51:15
问题 I've developed a javascript file that I want to include in a package, and I see that I can add it with a custom editviews.php file. That works fine. However, I wish to make it easy for my counterpart to install it. I created a file in the custom/extension/modules/leads/vardefs/ folder with the following contents (and did a quick repair): $viewdefs['Leads']['EditView']['templateMeta']['includes'][]=array('file'=>'custom/modules/mme_form_js_functions.js'); $viewdefs['Leads']['QuickCreate'][

Not able to login in SuiteCRM through REST API

非 Y 不嫁゛ 提交于 2019-12-24 20:17:43
问题 I am trying to login to SuiteCRM using REST API. Used the same code which was shown in demo SuiteCRM rest API document. The code is working fine on localhost. But when I am putting the file in server. It is showing a blank screen. <?php $url = "http://example.com/suitecrm/service/v4_1/rest.php"; function restRequest($method, $arguments){ global $url; $curl = curl_init($url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $post = array( "method" => $method, "input_type" => "JSON", "response

Suite CRM - The zip file is missing a manifest.php file. Cannot proceed

巧了我就是萌 提交于 2019-12-24 07:28:40
问题 I have created a custom module in Suite CRM but when try to upload it via Module Loader it gives this error The zip file is missing a manifest.php file. Cannot proceed even though the manifest.php file is there in the root directory of the module. 回答1: You might want to check those things: cases of letters in a filename of your manifest.php (on case-sensitive filesystems 'Manifest.php' or 'manifest.PHP' is not the same filename as 'manifest.php') manifest.php is in the root of the zip file

Suitecrm - php code in pdf template

为君一笑 提交于 2019-12-23 19:26:38
问题 I want to add a php code in my pdf template. Here is my use case First is I have a dropdown on my own module: Then what I want to have is on my pdf template, I want to have php condition base on the value of my dropdown e.g if($client_type == "renewal") echo "x"; else echo "y"; Will this be possible? 回答1: You could add a placeholder in the pdf template, for example: %%renewal_value%% Then you can work out your required value like you described, but rather than echoing the value use str

How to fix “Specified key was too long; max key length is 1000 bytes” While Installing suitecrm?

╄→尐↘猪︶ㄣ 提交于 2019-12-13 03:45:30
问题 During the installation of suitecrm It is showing database error when I checked the log file: "CHARACTER SET utf8 COLLATE utf8_general_ci: MySQL error 1071: Specified key was too long; max key length is 1000 bytes" regarding user table 来源: https://stackoverflow.com/questions/56922374/how-to-fix-specified-key-was-too-long-max-key-length-is-1000-bytes-while-inst

SuiteCRM Make custom where condition query for popview

心不动则不痛 提交于 2019-12-13 02:12:57
问题 How to make the custom query for popup view, I made changes in ViewList as mentioned above but it doesn't affect on the list which came in popup view list. My requirement is to pass product type when I open this from invoice module. In invoice, we have a product line and service line, and from product module, i have differentiated product by type while adding new product as a "Goods" or "Service". Now i have created 2 custom files, view.list.php, and view.popup.php. But do not understand how