Jump to content

Create a drop down menu for a module in the back office - directory structure for module ?


Recommended Posts

I have read a few articles on creating modules. But I have as yet to get a clear picture regarding : 

-- Which controller to extend in order to display a form in the admin panel ?

-- What would be the directory layout for such a module ?

 

It would be really helpful if there are links to any such sample code - even code samples of custom modules.

Link to comment
Share on other sites

Right now what I have is :

--modules

|  --mymodule

|  |  --controllers

|  |  |  --AdminMyModule class extending ModuleAdminController

|  |  |  --AdminMyModuleTab class extending AdminTab

|  |  --views

|  |  |  --templates

|  |  |  |  --my_module_template.tpl

|  |  config.xml ( generated )

|  |  mymodule.php

 

The intention of the module is to register products after reading a JSON file ( like CSV import )

Am I on the right track? Also where ( which controller ) should I be implementing the business part of the logic?

 

Thanks

Link to comment
Share on other sites

×
×
  • Create New...