如何在sugarcrm中添加自定义操作?
因此,我有一个自定义模块MLB,我想要的是在detailsview.php中添加一个自定义操作,用于发送消息的按钮,我已经有了该操作,但我不知道该如何操作 您可以覆盖\custom\modules\{modules\u name}\views\view.details.php如下显示函数:如何在sugarcrm中添加自定义操作?,sugarcrm,Sugarcrm,因此,我有一个自定义模块MLB,我想要的是在detailsview.php中添加一个自定义操作,用于发送消息的按钮,我已经有了该操作,但我不知道该如何操作 您可以覆盖\custom\modules\{modules\u name}\views\view.details.php如下显示函数: <?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); require_once('includ
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
require_once('include/MVC/View/views/view.detail.php');
class modules_name extends ViewDetail {
function modules_nameViewDetail(){
parent::ViewDetail();
}
function display(){
// include your custom function code here
parent::display();
}
}
?>