| Server IP : 138.197.176.125 / Your IP : 216.73.217.122 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/suitesupport.varianceinfotech.net/ |
Upload File : |
<?php // Turn on debugging level
$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Menu.php');
include_once('vtlib/Vtiger/Module.php');
$module = new Vtiger_Module();
$module->name = "Contacts";
$module = $module->getInstance('Contacts');
$block1 = new Vtiger_Block();
$block1->label = "LBL_CONTACT_INFORMATION";
$block1 = $block1->getInstance($block1->label, $module);
$field1 = new Vtiger_Field();
$field1->name = "technology";
$field1->label = "Technology";
$field1->table = $module->basetable;
$field1->coulmn = "technology";
$field1->coulmntype = "VARCHAR(255)";
$field1->uitype = 15;
$field1->setPicklistValues(Array('SuiteCRM'));
$field1->typeofdata = 'V~O';
$block1->addField($field1);
$field2 = new Vtiger_Field();
$field2->name = "lead_stage";
$field2->label = "Lead Stage";
$field2->table = $module->basetable;
$field2->coulmn = "lead_stage";
$field2->coulmntype = "VARCHAR(255)";
$field2->uitype = 15;
$field2->setPicklistValues(Array('New Lead', 'Offer Sent', 'Waiting for Reply', 'Nagotiation', 'Offer Rejected', 'Contact in Future', 'Offer Closed'));
$field2->typeofdata = 'V~O';
$block1->addField($field2);
?>