Magento custom admin module 404 not found

有些话、适合烂在心里 提交于 2019-12-02 05:57:12

Maybe the answer is really simple. Try renaming everywhere CustomList to Customlist in all files. If that is not an answer you can try comparing your settings and files with this link

Here is suggesting you to make new module you can use module creator and you can avoid error like this if you want to utilize your time.

Please use below link for online generation of module creator

or you can also download module creator from various sites just search it out.

And one more thing if same error will generate again please clear your cache with magento as well as your browser caching also

Have nice day.

Let me know if i can help you more.

When create a magento admin module you can create it in one of two ways (The above menu url will not work)

<adminhtml>
    <menu>
        <menu1 translate="title" module="customlist">
            <title>ActiveCodeline SampleModule1</title>
            <sort_order>60</sort_order>
            <children>
                <menuitem1 module="SampleModule1">
                    <title>Menu item 1</title>
                    <action>{{adminhtml/customlist}}/index</action>
                </menuitem1>

<admin>
    <routers>
        <adminhtml>
            <args>
                <modules>
                    <Company_CustomList before="Mage_Adminhtml">Foo_Bar_Adminhtml</Company_CustomList>
                </modules>
            </args>
        </adminhtml>
    </routers>
</admin>

Or

<adminhtml>
    <menu>
        <menu1 translate="title" module="customlist">
            <title>ActiveCodeline SampleModule1</title>
            <sort_order>60</sort_order>
            <children>
                <menuitem1 module="SampleModule1">
                    <title>Menu item 1</title>
                    <action>{{customlist}}/index</action>
                </menuitem1>


<admin>
    <routers>
        <samplemodule1>
            <use>admin</use>
            <args>
                <module>ActiveCodeline_SampleModule1</module>
                <frontname>customlist</frontname>
            </args>
        </samplemodule1>
    </routers>
</admin>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!