Magestore published a quizz a few days ago about Magento 2. Questions inside are very interesting and it’s another way to learn about Magento functionalities. I will not explain the reasons of the answers because all of the points aborded
Bonus : Add custom module icon on Magento admin
Magento 2 Training : Unit 6 – Bonus Add custom font with Magento 2 To set our new SVG icon, you can create it yourself, or find one on the web. You can use Icomoon website to chose or import
Add translations on your Magento 2 module
Magento 2 Training : Unit 6 – Lesson D Change FO language You choose the store language during Magento installation. If you want to change it, you have to change the following configuration : Store > Settings > Configuration Choose
New Magento Malware : Credit Card Hijack
Magento sent an email to every partners to prevent about a new malware issue. This malware is inside a script and contains words like “onepage” or “checkout”. Hackers use admin acess or database access to implement this code. Magento doesn’t
Add CSS on your Magento 2 module
Magento 2 Training : Unit 6 – Lesson C We will see how to add some CSS on our module. The CSS will be put inside the module folder, so it’s not a theme creation. I will explain the creation
Manipulate collections with Magento 2
Magento 2 Training : Unit 6 – Lesson B Remember during the last lesson, we created a collection : $jobCollection = $this->_job->getCollection() ->addFieldToSelect(‘*’) ->addFieldToFilter(‘status’, $this->_job->getEnableStatus()) ->join( array(‘department’ => $this->_department->getResource()->getMainTable()), ‘main_table.department_id = department.’.$this->_job->getIdFieldName(), array(‘department_name’ => ‘name’) ); We will see what
Create the frontend HTML of your Magento 2 module
Magento 2 Training : Unit 6 – Lesson A Before create the template file, we have to create routes, and controller of our module. Our block will have new methods, and our templates will be dynamical ! File : routes.xml
Practical : Create grid, forms and controllers for Job object
Magento 2 Training : Practical 1 Before begin this practical, you must read previous lessons of the training Specifications You have to do the same things we did for departments on the last two parts. Our jobs grid will have
Delete and massActions on Magento 2 admin
Magento 2 Training : Unit 5 – Lesson C The 2 last controllers to create are : – delete – massDelete Let’s go ! Delete controller creation Create the file : app/code/Maxime/Jobs/Controller/Adminhtml/Department/Delete.php Put this code inside : <?php namespace Maxime\Jobs\Controller\Adminhtml\Department;
Layouts and forms on Magento 2 admin
Magento 2 Training : Unit 5 – Lesson B Admin layout creation We have to create a layout before create the form : app/code/Maxime/Jobs/view/adminhtml/layout/jobs_department_edit.xml Put this little content : <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <update handle=”editor”/> <body> <referenceContainer name=”content”> <block