vtiger

how to add new field to vtiger_activity in vtiger crm

旧城冷巷雨未停 提交于 2019-12-13 17:21:22
问题 I want to add new field to vtiger_activity table in vtiger crm. I added the column in the table but now I am not getting place from where the insert function is called, and also how to add this new field to the column list through php code. thanks 回答1: You can add field from module setting-> Layout Editor-> Add Custom Filed Or if you want to add field by using code then here below is the code. <?php $Vtiger_Utils_Log = true; include_once('vtlib/Vtiger/Menu.php'); include_once('vtlib/Vtiger

vTiger web services: Permission to perform the operation is denied for query

久未见 提交于 2019-12-13 15:11:12
问题 I'm using the vTiger web services to retreive an array of VtigerObjects containing my contacts using a query. I am following the instructions given here: https://wiki.vtiger.com/index.php/Webservices_tutorials So far I'm getting a challenge token which I can use to login, so that's working.. But from the moment i'm trying to get data with a query I get the following error: "Permission to perform the operation is denied for query" I'm the administrator, so I should have all the permissions,

Calculation on vTiger field before save handler on Javascript Side (code inside)

眉间皱痕 提交于 2019-12-13 03:24:28
问题 I need to understand how to do real time calculation on Edit.js By searching and looking around i came up with this code in Edit.js of the Contact Module. calculate_amount: function (){ var units = $("input[name='cf_852']"); var value = $("input[name='cf_854']"); $(units, value).on('keyup', function(){ if (units.val() != '' && value.val() != ''){ var currentamount = units.val() * value.val(); $("input[name='cf_856']").val(currentamount); } }); } Have i done something wrong? Because it doesn't

vTiger webservice “ACCESS_DENIED : Permission to perform the operation is denied for id”

Deadly 提交于 2019-12-12 10:12:49
问题 I want to add SalesOrder through vTiger webservice. I'm using for this vtwsclib. Here is the code: <?php include_once('vtwsclib/Vtiger/WSClient.php'); $url = 'http://localhost:8888'; $client = new Vtiger_WSClient($url); $login = $client->doLogin('admin', 'zzzzzzzz'); if(!$login) echo 'Login Failed'; else { $data = array( 'subject' => 'Test SalesOrder', 'sostatus' => 'Created', 'invoicestatus'=>'AutoCreated', 'account_id'=> '46', // Existing account id 'bill_street' => 'Bill Street', 'ship

vTiger Custom Field Validation beforesave

ⅰ亾dé卋堺 提交于 2019-12-12 06:14:06
问题 I have created a custom module on vTiger 6.5. I have made an event handler for the module but I am wondering how I could perform some sort of validation on this field. So fat I have done this but I am unable to get it work, I have tested the handler just echoing a sting and it works fine. Please see my code below. Thanks! <?php /*+*********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version

vTiger 7 Add Custom module to Sidebar

强颜欢笑 提交于 2019-12-08 10:25:13
问题 I have created a module using console.php lets say 'Test'. now i want to add this 'Test' module to the sidebar under 'Sales' Application or may be as a separate Link. Any help will be appreciated and also guide me where can i find the documentation for customizing my module. Thanks. 回答1: For this, update the table vtiger_app2tab First find out the tab id of the newly created module and update this table. For examle: (in vtiger_app2tab) 53 SALES 7 1 this is the database entry (new row) in

vTiger - How to use module field in another module

我的未来我决定 提交于 2019-12-07 19:43:18
问题 I'm newbie in vtiger. I'm trying to insert the field "Service Name" from Services module in TroubleTicket module, but up to now I wasn't able to do it. Generally speaking, is it possible to insert a field in a Module from another module? If so, how is it supposed to be done? 回答1: You can use this Code, Put this under your vTiger root directory and call it from browser. <?php $Vtiger_Utils_Log = true; include_once('vtlib/Vtiger/Menu.php'); include_once('vtlib/Vtiger/Module.php'); $module =

vTiger webservice “ACCESS_DENIED : Permission to perform the operation is denied for id”

心已入冬 提交于 2019-12-06 05:39:40
I want to add SalesOrder through vTiger webservice. I'm using for this vtwsclib. Here is the code: <?php include_once('vtwsclib/Vtiger/WSClient.php'); $url = 'http://localhost:8888'; $client = new Vtiger_WSClient($url); $login = $client->doLogin('admin', 'zzzzzzzz'); if(!$login) echo 'Login Failed'; else { $data = array( 'subject' => 'Test SalesOrder', 'sostatus' => 'Created', 'invoicestatus'=>'AutoCreated', 'account_id'=> '46', // Existing account id 'bill_street' => 'Bill Street', 'ship_street' => 'Ship Street', ); $record = $client->doCreate('SalesOrder', $data); $error = $client->lasterror

create custom module in vtiger 6

非 Y 不嫁゛ 提交于 2019-12-04 09:41:28
问题 Hello there I'm new in vtiger. Now what i want to know is how to create costum module without using existing module designer or other same stuff. For example i want to create a custom module that will save the name and last name of a certain person. Actually I research in the internet, and I didn't find a clear tutorial on how to create a costum module specifically in vtiger 6. Do you have any good tutorial or link on how to create a costum module in vtiger 6 . Your help is greatly

create custom module in vtiger 6

*爱你&永不变心* 提交于 2019-12-03 04:41:26
Hello there I'm new in vtiger. Now what i want to know is how to create costum module without using existing module designer or other same stuff. For example i want to create a custom module that will save the name and last name of a certain person. Actually I research in the internet, and I didn't find a clear tutorial on how to create a costum module specifically in vtiger 6. Do you have any good tutorial or link on how to create a costum module in vtiger 6 . Your help is greatly appreciated. Hope I found some interesting tutorial in making entity module this is the link. http://community