iwebshop后台模块的添加
来源:互联网 发布:json测试工具 编辑:程序博客网 时间:2024/06/05 04:10
iwebshop后台模块的添加需要以下几个步骤
例如添加:”订单2“模块
1.在/classes/menu.php中找到
//菜单的配制数据
(添加方式如下)
'订单2'=>array(
'订单管理'=>array(
'/test/test_order_list' =>'订单列表',
),
),
2.在/classes/themeroute.php中找到
//后台管理的控制器
private static $syscontroller = array(
'pic','block','brand','comment','goods','market','member','message','order','system','systemadmin','tools','test'(红色为添加的控制器)
);
3.
在/controllers/下新建test.php
内容格式参考其他的.php
<?php
class Test extends IController
{
public $checkRight = 'all';
public $layout='admin';
function init()
{
IInterceptor::reg('CheckRights@onCreateAction');
}
public function test_order_list(){
$this->redirect('test_order_list',false);
}
}
?>
在/views/sysdefault/下新建 “文件夹test”,在test下新建test_order_list.html(对应的html模板)
创建完成
- iwebshop后台模块的添加
- iwebshop后台模块
- iwebshop前台视频添加
- iwebshop前台视频添加
- discuz后台管理模块添加
- discuz后台管理模块添加
- iwebshop 添加手机短信接口实例
- iwebshop插件的操作
- 【phpcms-v9】后台content模块的content.php控制器文件分析-后台添加内容代码分析
- phpcms-v9】后台content模块的content.php控制器文件分析-后台添加内容代码分析
- 简单的iwebshop为商品添加供货商(非插件)
- iwebshop添加邀请用户功能-邮箱邀请
- iwebshop上传类的使用
- iWebShop 二次开发之商城后台模板渲染流程
- 网站后台的权限模块
- iwebshop功能添加——邮箱邀请注册增加积分
- iwebshop功能添加--积分抽奖(生成代金券)
- iwebshop功能添加——邮箱邀请注册增加积分
- 小马哥----高仿三星A5000 主板型号S108 6582刷机拆机外观图 精仿系列版本
- 利用PHP对页面源代码过滤的几种方法
- iOS CoreAnimation动画系列教程
- Ruby中实现把字符串转换为类的2种方法
- 即时通讯的概述
- iwebshop后台模块的添加
- 各个raid对比:性能和运行速度和读写方面
- 杭电ACM2159(二维背包)
- Cohen-Sutherland线段裁剪算法
- 学习ectouch之文件结构
- AngularJs开发实践第一天(1)
- 《用Python玩转数据》第2周学习笔记(Part1)
- jQuery实现页面详情展开收起
- Log4j.properties文件配置详解及模板