Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Codeigniter 燃油模块禁用创建按钮_Codeigniter_Fuelcms - Fatal编程技术网

Codeigniter 燃油模块禁用创建按钮

Codeigniter 燃油模块禁用创建按钮,codeigniter,fuelcms,Codeigniter,Fuelcms,可以禁用Fuel CMS custome模块中的“创建”按钮 我知道我可以用create_action_name配置名称,但我想禁用或隐藏按钮。它只会从fuel cms的顶部栏中删除create按钮。您必须将此代码添加到fuel cms/applications/config Folder中的My_fuel_modules.php欢迎使用SO。请将您的解释编辑到您的答案中,然后删除评论。谢谢 'item_actions' => array('view') $config['modules

可以禁用Fuel CMS custome模块中的“创建”按钮


我知道我可以用create_action_name配置名称,但我想禁用或隐藏按钮。

它只会从fuel cms的顶部栏中删除create按钮。您必须将此代码添加到fuel cms/applications/config Folder中的My_fuel_modules.php欢迎使用SO。请将您的解释编辑到您的答案中,然后删除评论。谢谢
'item_actions' => array('view')
$config['modules']['dummy'] = array(
'table_actions'=>array('edit','view','delete'),
'item_actions' => array('edit','save','view','delete')
);