Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Adding module to the backend
 
evL
Jr. Member
 
Total Posts:  29
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
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53191 users|748 users currently online|107221 forum posts