There are two main files involved in a module configuration: config.xml
and
system.xml
. In addition to these module configurations, these are also stored in:
In this chapter, we will focus only on the config.xml
file. Let's create our base file and break down each of the nodes by following these steps:
Start by creating the
config.xml
file under our moduleetc/directory
.Now, copy the following code to the
config.xml
file (the file location isapp/code/local/Mdg/Giftregistry/etc/config.xml
):<?xml version="1.0"?> <config> <modules> <Mdg_Giftregistry> <version>0.1.0</version> </Mdg_Giftregistry> </modules> <global> <models> <mdg_giftregistry> <class>Mdg_Giftregistry_Model</class> </mdg_giftregistry> </models...