1

I just created a module Custoreport and this is custoreport xml configuration.

<adminhtml>
        <menu>
            <custoreport>
                <title>Custoreport</title>
                <sort_order>71</sort_order>
                <children>
                    <admin2_adminhtml_custoreport>
                        <title>Manage Custoreport</title>
                        <action>admin2/adminhtml_custoreport</action>
                    </admin2_adminhtml_custoreport>                    
                </children>
            </custoreport>
        </menu>
</adminhtml>

And the menu is "Custoreport/Manage Custoreport". Now, I want to customize this menu like "reports/customers/Manage Custoreport"

Please give me the way to make it. Many thanks!

1

1 Answer 1

1

Look at Reports module configuration (/app/code/core/Mage/Reports/etc/adminhtml.xml)

Code may be

    <adminhtml>
        <menu>
            <report>
                <children>
                    <customers>
                        <children>
                            <admin2_adminhtml_custoreport>
                                <title>Manage Custoreport</title>
                                <action>admin2/adminhtml_custoreport</action>
                            </admin2_adminhtml_custoreport>
                        </children>
                    </customers>
                </children>
            </report>
        </menu>
    </adminhtml>
Sign up to request clarification or add additional context in comments.

1 Comment

@Юрий Николаев: How can I do: <action>admin/adminhtml_custoreport</action>?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.