How to add a tab in custom menu in backend in magento 2

by Sri   Last Updated March 13, 2018 07:09 AM

I need to add custom menu in Backend while clicking that menu it should open a page which consists 3 tabs in left side.It should load a first tab while clicking the menu. Please provide me a solution.

While Clicking my menu it should open a page like below, contains three tabs(1 contains grid and other two contains form) in left on the right side have associate content for the tab For example my custom module should like below. (The below image is only for example) enter image description here



Answers 1


You will need to create an custom module with etc/adminhtml/menu.xml.

For example

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
<menu>
    <add id="Vendor_Module::name"
         title="Title"
         module="Vendor_Module"
         sortOrder="9999"
         resource="Vendor_Module::name"
         action="actionpath"
    />
 </menu>
</config>

I suggest you look here for more info http://www.mage-world.com/blog/adding-new-menu-item-in-magento-2-custom-module.html

Ravindrasinh Zala
Ravindrasinh Zala
March 13, 2018 06:23 AM

Related Questions


Most Viewed Products in dashboard shows nothing

Updated April 16, 2015 21:04 PM

Magento 2: Display Count With Admin tab menu link

Updated October 12, 2017 10:09 AM

Magento2 add tab in admin Product Details

Updated February 26, 2016 04:04 AM

Magento2 insertListing inside fieldset

Updated December 04, 2017 14:09 PM