As we did in the previous chapter and fully explained in Chapter 4, Creating a Module, we will create the required files to create an empty module that we will extend with widget configurations in further chapters.
We will start with an empty Magento module that we will create in this recipe. We will create all the required files to initialize a new module that can be used for the creation of a widget.
Open your code editor and prepare yourselves to create a new module called Packt_Productslider
.
When you perform the following steps, you will create an empty Packt_Productslider
module:
Create the following folders for the module:
app/code/local/
app/code/local/Packt/
app/code/local/Packt/Productslider/
app/code/local/Packt/Productslider/etc
Create the module file
Packt_Productslider.xml
in themodules
folder underapp/etc
.Paste the following code into it:
<?xml version="1.0"?> <config> <modules> <Packt_Productslider...