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();
}
}
?>