Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

AdminHtml - New tab for local modules
 
Aldoric
Jr. Member
 
Total Posts:  4
Joined:  2008-01-18
 

Hi,

I already created the front-end part of the module I’m writing, now I tried to add the back-end part. I already inserted an item to the admin panel (the menu bar). Now the problem is, that the redirect doesn’t work for me.

If I click the link it tries to find the module in
/app/code/core/Mage/Adminhtml/controllers/MymoduleController.php

and not in the /app/code/local/… directory where the rest of the module is stored.

By the way, is that structure correct at all?

For the front-end and configuration part:
/local/Mage/Mymodule/…

For the back-end:
/local/Mage/Adminhtml/…

Or is there a way to remove the “Mage”, since my module isn’t really a part of it. Like
/local/Mymodule/Adminhtml/…
/local/Mymodule/Block/…
/local/Mymodule/etc/…
...

Thanks in advance

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