1
所以我有一个自定义模块MLB我想要的是在detailsview.php中添加一个自定义动作按钮发送消息,我已经有了行动,但我不知道我怎么把它!如何在sugarcrm中添加自定义操作?
所以我有一个自定义模块MLB我想要的是在detailsview.php中添加一个自定义动作按钮发送消息,我已经有了行动,但我不知道我怎么把它!如何在sugarcrm中添加自定义操作?
您可以覆盖\定制\模块\ {modules_name} \意见\ view.details.php显示功能是这样的:
<?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();
}
}
?>