Download the PHP package tym17/admin-module-sample without Composer
On this page you can find all versions of the php package tym17/admin-module-sample. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tym17/admin-module-sample
More information about tym17/admin-module-sample
Files in tym17/admin-module-sample
Download tym17/admin-module-sample
More information about tym17/admin-module-sample
Files in tym17/admin-module-sample
Vendor tym17
Package admin-module-sample
Short Description Admin module sample for Magento 2
License AFL - Academic Free License (AFL 3.0)
Homepage https://github.com/Tym17/
Package admin-module-sample
Short Description Admin module sample for Magento 2
License AFL - Academic Free License (AFL 3.0)
Homepage https://github.com/Tym17/
Please rate this library. Is it a good library?
Informations about the package admin-module-sample
AdminSample module
- To add a menu/sub-menu, check out the following files:
etc/adminhtml/menu.xml
etc/adminhtml/routes.xml
- To bind a page to those submenus, check out the following files:
- You will notice the path to look like the action parameter from
etc/adminhtml/menu.xml
Controller/Adminhtml/SampleOne/Index.php
Controller/Adminhtml/SampleTwo/Index.php
- You will notice the path to look like the action parameter from
- To add content to your freshly created pages, check out the following files:
view/adminhtml/layout/adminsample_sampleone_index.xml
view/adminhtml/templates/sample/one.phtml
- To add content to your freshly created pages and pass something to it, You can also check:
view/adminhtml/layout/adminsample_sampletwo_index.xml
Controller/Adminhtml/SampleTwo/Index.php
view/adminhtml/templates/sample/two.phtml
- To set and retrieve values from Magento2's configuration you can check these files:
Controller/Adminhtml/SampleTwo/Index.php
etc/adminhtml/system.xml
Configuration menu in Stores/Settings/Configuration is set hereetc/config.xml
Default configurationview/adminhtml/templates/sample/two.phtml
- To see how ACLs are made, check these files:
etc/acl.xml
- You'll notice that most resource elements are from
etc/adminhtml/menu.xml
- To see how to have different layouts, check this file:
view/adminhtml/layout/adminsample_sampletwo_index.xml
- To see how we create a custom block and use it, check those files:
Block/Adminhtml/CustomBlock.php
view/adminhtml/layout/adminsample_sampletwo_index.xml
- To see how you use block functions, have a look at:
Block/Adminhtml/CustomBlock.php
view/adminhtml/templates/custom/one.phtml
- To call a helper from a block you can check:
Block/Adminhtml/CustomBlock.php
Helper/ConfigHelper.php
view/adminhtml/templates/custom/one.phtml
To do
- Use model inside CustomBlock
All versions of admin-module-sample with dependencies
PHP Build Version
Package Version
The package tym17/admin-module-sample contains the following files
Loading the files please wait ....