Create admin menu in magento 2
Create registraion.php file
Rsgitech\News\registraion.php
Create composer.json file
Rsgitech\News\composer.json
Create module.xml file
Rsgitech\News\etc\module.xml
Create action index.php of Controller AllNews
Rsgitech\News\Controller\Adminhtml\AllNews\Index.php
Create routes.xml file
Rsgitech\News\etc\adminhtml\routes.xml
Create menu.xml file
Rsgitech\News\etc\adminhtml\menu.xml
Create layout file news_allnews_index.xml
Rsgitech\News\view\adminhtml\layout\news_allnews_index.xml
Create template file allnews.phtml
Rsgitech\News\view\adminhtml\templates\allnews.phtml
Installation process
You can upload zip file on magento directory app\code and extract this zip folder
Module path like this app\code\Rsgitech\News\...
0 comments:
Post a Comment
Thanks