tym17 / magento2-admin-module-sample Goto Github PK
View Code? Open in Web Editor NEWMinimal code to create an admin/backend module in Magento2
License: Academic Free License v3.0
Minimal code to create an admin/backend module in Magento2
License: Academic Free License v3.0
Hey,
I've got this installed at app/code/Tym17/AdminSample
app/etc/config.php
'Tym17_AdminSample' => 1,
but when I try to hit /admin/AdminSample/SampleOne/ or /admin/AdminSample/SampleTwo/ I'm taken to the Dashboard. Any idea what I'm doing wrong or next steps to debug?
I am getting an error for constructor parameter (ConfigHelper) of Model class AdminSample.php. I am getting below error.
Warning: Declaration of Tym17\AdminSample\Model\AdminSample::_construct(Tym17\AdminSample\Helper\ConfigHelper $config) should be compatible with Magento\Framework\Model\AbstractModel::_construct() in D:\xampp\htdocs\magento2\app\code\Tym17\AdminSample\Model\AdminSample.php on line 9
I downloaded the zip folder and created the name space Tym17 , created the module name AdminSample. Inside the module folder i pasted the Zip folder content , then
php bin/magento setup:upgrade -> using this i upgraded . config.php activate the module. when i open the home page http://127.0.0.1/magentonew/admin It displayed the blank page .As I tried I could not fix this issue in magento 2 and also followed steps given in the online reference but got the same issue.could you please suggest the solution for this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.