SearchRecent posts
The Random ToolboxDrupal 7 Setting up variables for use in a template (preprocess and process functions) Rendering Drupal 7 fields (the right way) Linux Secure Copy (scp) command Restrict Free Shipping in Magento Quickbooks Text Connection Ticket Cross-Site Request Forgery (CSRF) jQuery Events: MouseOver / MouseOut vs. MouseEnter / MouseLeave Monthly archive
|
Add a Link to Admin Menu or Sub-menu in Magento Module<?xml version="1.0"?> <config> <menu> <tutorial_menu translate="title" module="custompricing"> <title>Custom Pricing Reports</title> <sort_order>9999</sort_order> <children> <first_page module="custompricing"> <title>Our First Page</title> <action>custompricing/index/index</action> </first_page> </children> </tutorial_menu> <system> <children> <another_menu_from_us> <title>Here Too!</title> <sort_order>9999</sort_order> <action>custompricing/index/index</action> </another_menu_from_us> </children> </system> <!-- <sales> <children> <order> <children> <orderView translate="title" module="sales"> <title>View Orders</title> <action>adminhtml/sales_order</action> <sort_order>1</sort_order> </orderView> <orderNew translate="title" module="sales"> <title>New Order</title> <action>adminhtml/sales_order_create/index</action> <sort_order>2</sort_order> </orderNew> </children> </order> </children> </sales>--> <report> <children> <salesroot> <children> <sales> <children> <orderView translate="title" module="sales"> <title>Custom Pricing</title> <action>custompricing/index/index</action> <sort_order>1</sort_order> </orderView> </children> </sales> </children> </salesroot> </children> </report> </menu> </config> |