79242256

Date: 2024-12-01 18:44:34
Score: 1
Natty:
Report link

I found the answer. put this code in php file on the root of crm path and run in webbrowser:

 <?php 
include_once('vtlib/Vtiger/Module.php');
$moduleInstance = Vtiger_Module::getInstance('Leads');
$moduleInstance->addLink('DETAILVIEW', 'Test1', 'index.php'); 
//$moduleInstance->deleteLink('DETAILVIEW', 'Test1', 'index.php'); //this is for delete

?>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: hamidsolat