Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Magento 2 create module block

I want to define a new phtml block in the head of my module: I try to add something like this in my app/code/Custom/Module/view/frontend/layout/default.xml file: <?xml version="1.0"?> <page ...
4 votes
2 answers
161 views

Issues on create Magento 2 module

I create a module for Magento 2 to add a custom javascript to the theme head but my custom js file is loaded in front off all javascript files and this come with the error: ReferenceError: jQuery is ...
1 vote
1 answer
280 views

Magento 2 - Create simple module

I try to learn how to create a simple module in Magento 2. I create one but I have a lot of errors. If anyone can help me with a sample. How I can create a simple Magento2 module. This module must ...