| Server IP : 138.197.176.125 / Your IP : 216.73.217.55 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 : /mnt/volume_fra1_01/v65tiger/ |
Upload File : |
<?php
$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Menu.php');
include_once('vtlib/Vtiger/Module.php');
$module = new Vtiger_Module();
$module->name = "CTWhatsApp";
$module=$module->getInstance('CTWhatsApp');
$block1 = new Vtiger_Block();
$block1->label = "Whatsapp Msg Detail";
$block1=$block1->getInstance($block1->label,$module);
/*$field2 = new Vtiger_Field();
$field2->name = 'whatsapp_request';
$field2->label = 'API Request';
$field2->table = $module->basetable;
$field2->column = 'whatsapp_request';
$field2->columntype = 'TEXT';
$field2->uitype = 19;
$field2->typeofdata = 'V~O';
$block1->addField($field2);*/
$field4 = new Vtiger_Field();
$field4->name = 'whatsapp_quotemessage';
$field4->label = 'Quote Message';
$field4->table = $module->basetable;
$field4->column = 'whatsapp_quotemessage';
$field4->columntype = 'TEXT';
$field4->uitype = 19;
$field4->typeofdata = 'V~O';
$block1->addField($field4);
?>