通过模块以简单的形式创建管理前台[Magento] [英] Create admin front with a simple form via a module [Magento]

查看:59
本文介绍了通过模块以简单的形式创建管理前台[Magento]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Magento来说,我还很陌生,并且正在尝试了解如何创建管理(后端)页面.我已经弄清楚了如何创建/定义控制器和动作(以及编辑config.xml).

I am pretty new to Magento and am trying to understand how to create admin (backend) page. I have figured how to create/define the controller and action (along with editing the config.xml).

但是现在手头的下一个问题是在该页面中显示一个简单的表单.我知道,我可以选择创建块并在layout.xml中提及这些块.但是从我的角度来看,layout.xml必须存在于主题文件夹中.我无法做到,因为我的magento扩展程序将被安装,并且无法访问用户的系统.

But now the next problem at hand is to display a simple form in that page. I understand that, I have an option to create blocks and mention the blocks in a layout.xml. But from what I figure is that layout.xml needs to be present in the theme folder. Which I can't do as my magento extension will be installed and I have no access to the user's system.

So the doubt is. How to display a simple from in a backend (admin) page 
without having to make any changes to the theme's layout ?

推荐答案

检查以下链接:

  • turnkeye.com blog,
  • magentocommerce.com wiki.

希望,对您有帮助.

这篇关于通过模块以简单的形式创建管理前台[Magento]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆