问题描述
我正在尝试在我的发布条目表单中添加一个选项卡,我有以下代码(为简单起见进行了修剪),但它不起作用:
在 tab.my_module.php 中:
public function install() {
ee()->layout->add_layout_tabs($this->tabs(),'my_module');
}
public function tabs()
{
$tabs['my_module'] = array(
'custom_field'=> array(
'visible' => 'true','collapse' => 'false','htmlbuttons' => 'true','width' => '100%'
),);
return $tabs;
}
在 upd.my_module.php 中:
x1 <- 1
x2 <- 2
n1 <- 100
n2 <- 80
vr <- 3
t.value <- (x1 - x2) / sqrt((vr * (1 / n1 + 1 / n2)))
dt(x = t.value,df = n1 + n2 - 2)
0.0003110459
但是我重新安装模块后没有出现hte选项卡,我错过了什么?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)