Vtiger Crm 7.5 儀表板中自建小工具
Yman
阅读:317
2025-01-20 11:44:25
评论:0
MYSQL 數據庫 vtiger_links 中加紀錄
INSERT INTO `vtiger_links` (`linkid`, `tabid`, `linktype`, `linklabel`, `linkurl`, `linkicon`, `sequence`, `handler_path`, `handler_class`, `handler`, `parent_link`)
VALUES ('linkid', '3', 'DASHBOARDWIDGET', 'YOUR_WIDGET_NAME', 'YOUR_WIDGET_LINK', NULL, NULL, NULL, NULL, NULL, NULL);linkid 自已改為没有使用的 ID
YOUR_WIDGET_LINK = index.php?module=Home&view=ShowWidget&name=YOUR_WIDGET_NAME
建立文件:
文件位置:/www/wwwroot/[YOUR_DIR]/modules/Vtiger/dashboards/YOUR_WIDGET_NAME.php
內容:
class Vtiger_YOUR_WIDGET_NAME_Dashboard extends Vtiger_IndexAjax_View {
public function process(Vtiger_Request $request) {
print_r('new_widget');
}
}本文 zblog模板 原创,转载保留链接!网址:https://ylog.yman.fun/post/6.html
声明
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。
发表评论


