Magento 2: Create Custom Tab in admin panel in magento 2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Can anybody help me to build this tab in admin panel by custom module.
i want to achieve something like above picture.
magento-2.1 admin-panel multi-vendor
add a comment |
Can anybody help me to build this tab in admin panel by custom module.
i want to achieve something like above picture.
magento-2.1 admin-panel multi-vendor
1
please follow the link inchoo.net/magento-2/admin-menu-item-magento-2
– Nagaraju Kasa
Aug 14 '17 at 12:28
add a comment |
Can anybody help me to build this tab in admin panel by custom module.
i want to achieve something like above picture.
magento-2.1 admin-panel multi-vendor
Can anybody help me to build this tab in admin panel by custom module.
i want to achieve something like above picture.
magento-2.1 admin-panel multi-vendor
magento-2.1 admin-panel multi-vendor
asked Aug 14 '17 at 12:08
Jay KapoorJay Kapoor
176321
176321
1
please follow the link inchoo.net/magento-2/admin-menu-item-magento-2
– Nagaraju Kasa
Aug 14 '17 at 12:28
add a comment |
1
please follow the link inchoo.net/magento-2/admin-menu-item-magento-2
– Nagaraju Kasa
Aug 14 '17 at 12:28
1
1
please follow the link inchoo.net/magento-2/admin-menu-item-magento-2
– Nagaraju Kasa
Aug 14 '17 at 12:28
please follow the link inchoo.net/magento-2/admin-menu-item-magento-2
– Nagaraju Kasa
Aug 14 '17 at 12:28
add a comment |
3 Answers
3
active
oldest
votes
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
i followed the link to u provided, and it works, but when i click on menu item it redirects me to 404 not found in admin panel
– Jay Kapoor
Aug 16 '17 at 7:37
why is that? should i create a controller for this and how to create admin controller?
– Jay Kapoor
Aug 16 '17 at 7:38
Yes, but thats for a different question @JayKapoor
– Web Weave
Aug 17 '17 at 13:50
please suggest a way how to solve this and get data from the database in custom tab
– Jay Kapoor
Aug 18 '17 at 6:06
As I said, this is to broad for this question, you should make another @JayKapoor
– Web Weave
Aug 18 '17 at 7:41
add a comment |
You can refer below link to create custom tab in Magento2 -
https://github.com/jainmegha5395/admin-menu
New contributor
add a comment |
This module creates a Tab Menu with the logo in Magento2 admin: https://github.com/gr33nart/m2_greenart_newtab
Printscreen: https://goo.gl/YPkvn4
Below are some explanations, but in the above Github link I created a module that does this with the custom logo.
Vendor/Module/etc/acl.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Vendor/Module::Module" title="TabMenu" sortOrder="0" />
</resource>
</resources>
</acl>
</config>
Vendor/Module/etc/adminhtml/menu.xml
<?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::Module" title="Level 1" module="Vendor_Module" sortOrder="0" resource="Vendor_Module::Module"/>
<add id="Vendor_Module::Level_02" title="Level 2" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="module/index/index/" resource="Magento_Catalog::products"/>
<add id="Vendor_Module::catalog_products" title="Catalog" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="catalog/product/" resource="Magento_Catalog::products"/>
</menu>
</config>
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f189072%2fmagento-2-create-custom-tab-in-admin-panel-in-magento-2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
i followed the link to u provided, and it works, but when i click on menu item it redirects me to 404 not found in admin panel
– Jay Kapoor
Aug 16 '17 at 7:37
why is that? should i create a controller for this and how to create admin controller?
– Jay Kapoor
Aug 16 '17 at 7:38
Yes, but thats for a different question @JayKapoor
– Web Weave
Aug 17 '17 at 13:50
please suggest a way how to solve this and get data from the database in custom tab
– Jay Kapoor
Aug 18 '17 at 6:06
As I said, this is to broad for this question, you should make another @JayKapoor
– Web Weave
Aug 18 '17 at 7:41
add a comment |
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
i followed the link to u provided, and it works, but when i click on menu item it redirects me to 404 not found in admin panel
– Jay Kapoor
Aug 16 '17 at 7:37
why is that? should i create a controller for this and how to create admin controller?
– Jay Kapoor
Aug 16 '17 at 7:38
Yes, but thats for a different question @JayKapoor
– Web Weave
Aug 17 '17 at 13:50
please suggest a way how to solve this and get data from the database in custom tab
– Jay Kapoor
Aug 18 '17 at 6:06
As I said, this is to broad for this question, you should make another @JayKapoor
– Web Weave
Aug 18 '17 at 7:41
add a comment |
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
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
answered Aug 14 '17 at 14:21
Web WeaveWeb Weave
386
386
i followed the link to u provided, and it works, but when i click on menu item it redirects me to 404 not found in admin panel
– Jay Kapoor
Aug 16 '17 at 7:37
why is that? should i create a controller for this and how to create admin controller?
– Jay Kapoor
Aug 16 '17 at 7:38
Yes, but thats for a different question @JayKapoor
– Web Weave
Aug 17 '17 at 13:50
please suggest a way how to solve this and get data from the database in custom tab
– Jay Kapoor
Aug 18 '17 at 6:06
As I said, this is to broad for this question, you should make another @JayKapoor
– Web Weave
Aug 18 '17 at 7:41
add a comment |
i followed the link to u provided, and it works, but when i click on menu item it redirects me to 404 not found in admin panel
– Jay Kapoor
Aug 16 '17 at 7:37
why is that? should i create a controller for this and how to create admin controller?
– Jay Kapoor
Aug 16 '17 at 7:38
Yes, but thats for a different question @JayKapoor
– Web Weave
Aug 17 '17 at 13:50
please suggest a way how to solve this and get data from the database in custom tab
– Jay Kapoor
Aug 18 '17 at 6:06
As I said, this is to broad for this question, you should make another @JayKapoor
– Web Weave
Aug 18 '17 at 7:41
i followed the link to u provided, and it works, but when i click on menu item it redirects me to 404 not found in admin panel
– Jay Kapoor
Aug 16 '17 at 7:37
i followed the link to u provided, and it works, but when i click on menu item it redirects me to 404 not found in admin panel
– Jay Kapoor
Aug 16 '17 at 7:37
why is that? should i create a controller for this and how to create admin controller?
– Jay Kapoor
Aug 16 '17 at 7:38
why is that? should i create a controller for this and how to create admin controller?
– Jay Kapoor
Aug 16 '17 at 7:38
Yes, but thats for a different question @JayKapoor
– Web Weave
Aug 17 '17 at 13:50
Yes, but thats for a different question @JayKapoor
– Web Weave
Aug 17 '17 at 13:50
please suggest a way how to solve this and get data from the database in custom tab
– Jay Kapoor
Aug 18 '17 at 6:06
please suggest a way how to solve this and get data from the database in custom tab
– Jay Kapoor
Aug 18 '17 at 6:06
As I said, this is to broad for this question, you should make another @JayKapoor
– Web Weave
Aug 18 '17 at 7:41
As I said, this is to broad for this question, you should make another @JayKapoor
– Web Weave
Aug 18 '17 at 7:41
add a comment |
You can refer below link to create custom tab in Magento2 -
https://github.com/jainmegha5395/admin-menu
New contributor
add a comment |
You can refer below link to create custom tab in Magento2 -
https://github.com/jainmegha5395/admin-menu
New contributor
add a comment |
You can refer below link to create custom tab in Magento2 -
https://github.com/jainmegha5395/admin-menu
New contributor
You can refer below link to create custom tab in Magento2 -
https://github.com/jainmegha5395/admin-menu
New contributor
New contributor
answered 21 mins ago
Megha JainMegha Jain
111
111
New contributor
New contributor
add a comment |
add a comment |
This module creates a Tab Menu with the logo in Magento2 admin: https://github.com/gr33nart/m2_greenart_newtab
Printscreen: https://goo.gl/YPkvn4
Below are some explanations, but in the above Github link I created a module that does this with the custom logo.
Vendor/Module/etc/acl.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Vendor/Module::Module" title="TabMenu" sortOrder="0" />
</resource>
</resources>
</acl>
</config>
Vendor/Module/etc/adminhtml/menu.xml
<?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::Module" title="Level 1" module="Vendor_Module" sortOrder="0" resource="Vendor_Module::Module"/>
<add id="Vendor_Module::Level_02" title="Level 2" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="module/index/index/" resource="Magento_Catalog::products"/>
<add id="Vendor_Module::catalog_products" title="Catalog" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="catalog/product/" resource="Magento_Catalog::products"/>
</menu>
</config>
add a comment |
This module creates a Tab Menu with the logo in Magento2 admin: https://github.com/gr33nart/m2_greenart_newtab
Printscreen: https://goo.gl/YPkvn4
Below are some explanations, but in the above Github link I created a module that does this with the custom logo.
Vendor/Module/etc/acl.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Vendor/Module::Module" title="TabMenu" sortOrder="0" />
</resource>
</resources>
</acl>
</config>
Vendor/Module/etc/adminhtml/menu.xml
<?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::Module" title="Level 1" module="Vendor_Module" sortOrder="0" resource="Vendor_Module::Module"/>
<add id="Vendor_Module::Level_02" title="Level 2" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="module/index/index/" resource="Magento_Catalog::products"/>
<add id="Vendor_Module::catalog_products" title="Catalog" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="catalog/product/" resource="Magento_Catalog::products"/>
</menu>
</config>
add a comment |
This module creates a Tab Menu with the logo in Magento2 admin: https://github.com/gr33nart/m2_greenart_newtab
Printscreen: https://goo.gl/YPkvn4
Below are some explanations, but in the above Github link I created a module that does this with the custom logo.
Vendor/Module/etc/acl.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Vendor/Module::Module" title="TabMenu" sortOrder="0" />
</resource>
</resources>
</acl>
</config>
Vendor/Module/etc/adminhtml/menu.xml
<?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::Module" title="Level 1" module="Vendor_Module" sortOrder="0" resource="Vendor_Module::Module"/>
<add id="Vendor_Module::Level_02" title="Level 2" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="module/index/index/" resource="Magento_Catalog::products"/>
<add id="Vendor_Module::catalog_products" title="Catalog" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="catalog/product/" resource="Magento_Catalog::products"/>
</menu>
</config>
This module creates a Tab Menu with the logo in Magento2 admin: https://github.com/gr33nart/m2_greenart_newtab
Printscreen: https://goo.gl/YPkvn4
Below are some explanations, but in the above Github link I created a module that does this with the custom logo.
Vendor/Module/etc/acl.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Vendor/Module::Module" title="TabMenu" sortOrder="0" />
</resource>
</resources>
</acl>
</config>
Vendor/Module/etc/adminhtml/menu.xml
<?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::Module" title="Level 1" module="Vendor_Module" sortOrder="0" resource="Vendor_Module::Module"/>
<add id="Vendor_Module::Level_02" title="Level 2" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="module/index/index/" resource="Magento_Catalog::products"/>
<add id="Vendor_Module::catalog_products" title="Catalog" translate="title" module="Magento_Catalog" sortOrder="10" parent="Vendor_Module::Module" action="catalog/product/" resource="Magento_Catalog::products"/>
</menu>
</config>
edited Aug 14 '17 at 14:30
answered Aug 14 '17 at 14:21
St3phanSt3phan
2,0181237
2,0181237
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f189072%2fmagento-2-create-custom-tab-in-admin-panel-in-magento-2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
please follow the link inchoo.net/magento-2/admin-menu-item-magento-2
– Nagaraju Kasa
Aug 14 '17 at 12:28