iwebshop后台模块
来源:互联网 发布:sql 分类统计 编辑:程序博客网 时间:2024/06/06 01:38
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二次开发
- iwebshop二次开发
- iwebshop 详解
- 什么是iwebshop
- iwebshop 详解
- iwebshop两表联查
- iwebshop 简介
- 后台管理登录模块
- ECSHOP后台开发模块步骤
- ECshop后台开发模块步骤
- discuz后台管理模块添加
- discuz后台管理模块添加
- php学习笔记-后台模块
- MAGENTO 后台模块开发一
- MAGENTO 后台模块开发二
- eclipse 快捷键
- 组装机电源线的开机线、重启线、电源指示灯、硬盘指示灯线怎么接主板
- android之RxJava的学习,从浅到深,从入门到别放弃(一)
- Codeforces Round #277.5(Div. 2) F. Special Matrices【思维+Dp】好题~好题~
- 2017年4月20日工作日记
- iwebshop后台模块
- redis学习记录08-分片
- Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'(转)
- 七桥问题抽象之欧拉回路
- AIDL3第三期人工智能前沿讲习班:从理论到应用
- 计算长方体、四棱锥的表面积和体积
- 【iOS学习】五、block方法
- 一分钟理解js闭包
- 第二章预习(一)