Magento Forum

   
Adding module to the backend
 
evL
Member
 
Total Posts:  32
Joined:  2008-04-23
 

** EDIT **

Nevermind, I figured it out.

** EDIT **

I’m trying to add a module to the backend of magento.

I’ve already added the module to the frontend on the customer’s account successfully…

I need now to put it on the backend section.

I believe there is something to do in the module config xml

<config>
...
<
frontend>
 <
routers>
  <
adminhtml>
   <use>
admin</use>
    <
args>
     <
module>NVI_Shoutbox</module>
     <
frontName>admin</frontName>
   </
args>
  </
adminhtml>
 </
routers>
</
frontend>
</
config>

Where NVI is my package name and Shoutbox is my module name.

Right now, on thebackend, I successfully added a menu item under customer named Customer Messages pointing to /index.php/admin/shoutbox_inbox and I am having a 404 issue. So I believe the app isn’t routing to the right folder or even my module isn’t considered for using this link.

For testing purposes, I created a controller in the core/Mage/Adminhtml named Shoutbox and it worked ...

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top