cancel
Showing results for 
Search instead for 
Did you mean: 

Building module

Building module

I am building magento module for now it is just calling text, but the problem I am facing right now is it is not appear in enabled nor disabled modules 

N.B: registration file created (registration.php) 

10 REPLIES 10

Re: Building module

Hello,

 

you need to create two files

 

registation.php and etc/module.xml file for that.

 

then you need to run setup:upgrade command for the same.

 

https://devdocs.magento.com/videos/fundamentals/create-a-new-module/

 

check above link for same

Hope it will help you.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Building module

I did all the steps you mentioned but still doesn't appear

Re: Building module

I did all the steps you mentioned but still doesn't appear

Re: Building module

Hello @mariana_remon 

 

check your module name into app/etc/config.php file

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Building module

Hi @mariana_remon 

 

which are the steps you followed and what do you have on your app/etc/config.php?

 

--- Code lover, nature addicted ---

Re: Building module

sorry @Sunil Patel  i didn't see your answer (Think we have posted almost in sync Smiley Very Happy )

--- Code lover, nature addicted ---

Re: Building module

You can refer to the link for creating Magento 2 Hello World Module.

 

Once you follow all the steps and create a file given in the link, You need to run a command from the root of Magento php bin/magento setup:upgrade command to install your module.

 

Hope the above link will helpful for beginners.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Building module

@mariana_remon After creating module have you run the below command?

php bin/magento setup:upgrade

Thanks

Re: Building module

yes I did