Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8560779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:21:18+00:00 2026-06-11T16:21:18+00:00

I have an issue with a custom controllers ACL for the admin backend. Ive

  • 0

I have an issue with a custom controllers ACL for the admin backend.
Ive read, re-read, checked….and still cant find my issue. Dammit.

First, the code…the module itself is working…i have blocks, helpers, front end controllers…system->config tab/group data…all working fine. My issue is just relating to admincontroller acl…so ill just add the relevant code for that area for now.

My backend tab is showing, but the urls (admin/mynewmodule/index, admin/mynewmodule/list) go to a 404 page.

config.xml, admin routers:

 <admin>
    <routers>
        <adminhtml>
            <args>
                <modules>
                    <mynewmodule before="Mage_Adminhtml">
                        Mworkz_MyNewModule_Adminhtml
                    </mynewmodule >
                </modules>
            </args>
        </adminhtml>
    </routers>
</admin>

Adminhtml.xml, backend tab, and acl

 <?xml version="1.0"?>
 <config>
 <menu>
    <mynewmodule module="mynewmodule " translate="title">
        <title>MyNewModule</title>
        <sort_order>71</sort_order>               
            <children>
                    <items module="mynewmodule " translate="title">
                        <title>Index Action</title>
                        <sort_order>1</sort_order>
                        <action>adminhtml/mynewmodule/</action>
                    </items>
                    <list module="mynewmodule " translate="title">
                        <title>List Action</title>
                        <sort_order>2</sort_order>
                        <action>adminhtml/mynewmodule/list/</action>
                    </list>
             </children>
    </mynewmodule >
</menu>

    <acl>
        <resources>
            <admin>
                <children>
                    <system>
                        <children>
                            <config>
                                <children>
                                    <mynewmodule translate="title">
                                            <title>MyNewModule</title>
                                    </mynewmodule>
                                </children>
                            </config>
                        </children>
                    </system>
                    <mynewmodule translate="title" module="mynewmodule">
                    <title>MyNewModule</title>
                        <sort_order>-100</sort_order>
                        <children>
                            <items translate="title">
                                <title>Index Action</title>
                                <sort_order>1</sort_order>
                            </items>
                            <list translate="title">
                                <title>List Action</title>
                                <sort_order>2</sort_order>
                            </list>
                        </children>
                    </mynewmodule>
                </children>
            </admin>
        </resources>
    </acl>
    <layout>
        <updates>
            <mynewmodule>
                <file>mworkz/mynewmodule.xml</file>
            </mynewmodule>
        </updates>
    </layout>

 </config>

Admin controller

 class Mworkz_MyNewModule_Adminhtml_MyNewModuleController extends Mage_Adminhtml_Controller_action
 {

protected function _initAction() {

    $this->loadLayout()
        ->_setActiveMenu('extbuilderpro/items')
        ->_addBreadcrumb(Mage::helper('adminhtml')->__('Items Manager'), Mage::helper('adminhtml')->__('Item Manager'));

    return $this;
}   

public function indexAction() {

    $this->_initAction()
        ->renderLayout();
}

 public function listAction() {

    $this->_initAction()
        ->renderLayout();
}

 }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T16:21:20+00:00Added an answer on June 11, 2026 at 4:21 pm

    If you write your own extension, path must be module_name/admin_html/list. Download free magento extension, for example: http://www.magentocommerce.com/magento-connect/news-by-commercelab-3436.html and look at etc/config.xml.

    So right code:

    <menu>
        <modulename module="modulename" translate="title">
            <title>Module Name</title>
            <sort_order>1</sort_order>
            <children>
                <add translate="title" module="modulename">
                    <title>Add New Item</title>
                    <sort_order>0</sort_order>
                    <action>modulename/adminhtml_news/new</action>
                </add>
                <items translate="title" module="modulename">
                    <title>Items Manager</title>
                    <sort_order>10</sort_order>
                    <action>modulename/adminhtml_news/index</action>
                </items>
                <settings translate="title" module="modulename">
                    <title>Settings</title>
                    <sort_order>40</sort_order>
                    <action>adminhtml/system_config/edit/section/modulename</action>
                </settings>
            </children>
        </clnews>
    </menu>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm have a weird issue here. I have a UITableView using custom UITableViewCells. Everything
I have an issue which I could not find answer for across the web.
I have issue with: <form:checkboxes path=roles cssClass=checkbox items=${roleSelections} /> If previous line is used
I have issue that is reproduced on g++. VC++ doesn't meet any problems. So
We are new to ROR, We have issue in creating Login/Logout process in ROR
Share your ideas please! I have issue to check the folder and convert a
Have an issue with marshall and unmarshall readers and writers. So here it is.
I have an issue with jquery and history.back(): I got a link: <a href=#
I have an issue of alphabetically sorting the contacts picked from the address book
I have an issue while getting the file name with out extension from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.