12. Magento 后台top栏开发
来源:互联网 发布:java获取临时文件夹 编辑:程序博客网 时间:2024/05/19 12:12
- 新建模块Www/First
confi.xml<config> <global> <helpers> <first> <class>Www_First_Helper</class> </first> </helpers> </global> <admin> <routers> <first> <use>admin</use> <args> <module>Www_First</module> <frontName>first</frontName> </args> </first> </routers> </admin> <adminhtml> <menu> <first> <title>first</title> <sort_order>999</sort_order> <children> <media translate="title" module="first"> <title>caidan1</title> <action>first/hello/index</action> </media> <media1 translate="title" module="first"> <title>caidan2</title> <action>first/hello/test</action> </media1> </children> </first> </menu> </adminhtml></config><adminhtml>为配置后台模板 <menu>为TOP栏菜单 <title>为菜单名称 <childern>为子菜单 <action> 为URL:first/hello/testURL第一项是模块名,第二项是控制器名,第三项是action名这样,后台的项目URL就和Www_First模块对应
HelloController.php<?phpclass Www_First_HelloController extends Mage_Adminhtml_Controller_Action{ public function indexAction() { echo "caidan1111"; } public function testAction() { echo 'caidan2222'; }}
Data.php<?phpclass Www_First_Helper_Data extends Mage_Core_Helper_Abstract{}
0 0
- 12. Magento 后台top栏开发
- 13. Magento 后台top栏开发(二)
- magento 模块开发:在后台新增TOP栏项目
- MAGENTO 后台模块开发一
- MAGENTO 后台模块开发二
- MAGENTO 后台模块开发三
- MAGENTO 后台模块开发四
- MAGENTO 后台模块开发五
- MAGENTO 后台模块开发六
- MAGENTO 后台模块开发实例
- magento后台用户
- Magento后台不能登录
- 配置magento后台翻译
- magento自定义后台配置
- magento后台设置笔记
- 重置magento后台用户密码
- Magento 后台不能登录
- magento 后台xml配置
- android AudioManager类 详解 .
- 03 基本元素 运算符
- 系统吞吐量、TPS(QPS)、用户并发量、性能测试概念和公式
- android5.0远程绑定service
- Android-基础笔记-HTTP (一)
- 12. Magento 后台top栏开发
- Django开发(二)——后台管理模块
- python
- device_create,device_create_file
- RedHat下更新gcc编译器
- delphi 截图简单的实现
- PL/SQL8.0 注册码
- hdu2191 悼念512汶川大地震遇难同胞——珍惜现在,感恩生活
- 使用AudioTrack进行音频播放