Magento 2 Training : Unit 3 – Lesson E Backend controller declaration In the last Unit, we learnt how to create a frontend controller, now let’s create an admin controller. Create the file : app/code/Maxime/Jobs/etc/adminhtml/routes.xml You can put this content
Admin menu creation and access control list managment (ACL) on Magento 2
Magento 2 Training : Unit 3 – Lesson D Add menu in backoffice – On existing section We will add our menu on Magento BO. For this example, we will add it on “Content” section Create file app/code/Maxime/Jobs/etc/adminhtml/menu.xml And put
Module datas setup with Magento 2
Magento 2 Training : Unit 3 – Lesson C Datas setup Now we’ve got our tables and our models, we can add some datas inside ! Before beginning, we will add 2 methods on Job model. Open the file :
Create a model with Magento 2
Magento 2 Training : Unit 3 – Lesson B Models declaration For our first model creation, let’s begin with the “Department” model. On this part, we will create a simple model, without We define : – An event prefix ($_eventPrefix)
Setup management on Magento 2
Magento 2 Training : Unit 3 – Lesson A Module presentation To begin this part of the formation, we will create a new module. It will be a job offer module with 2 models : – A department : this
Create simple module with Magento 2
Magento 2 Training : Unit 2 – Lesson C Before beginning You must declare your module and create your first controller, so make sure to have read these lessons : Declare a new Magento 2 module Create Magento 2 frontend
Create Magento 2 frontend controller
Magento 2 Training : Unit 2 – Lesson B We have declared and created our new custom module. We will learn how to create a frontend controller. The controller can call our module with an URL like : http://magento2.lan/helloworld http://magento2.lan/helloworld/say
Declare a new Magento 2 module
Magento 2 Training : Unit 2 – Lesson A Files creation Go on file folder “app/code”, you will see a “Magento” folder. You mustn’t modifiy the content inside. All the magento core module are here, and only Magento can update
Install Magento 2
Magento 2 Training : Unit 1 – Lesson A Magento 2 is available after many years of waiting. Source code is on Github, and we will see how to install this new version and how to configure it.
Install sample datas for Magento 2
Magento 2 Training : Unit 1 – Lesson B The article explains how to install sample datas AFTER Magento 2 installation. If you want to do it BEFORE, show the Magento official documentation. During the web setup wizard, you can