The previous post looked at how to add configuration variables to Magento. This Post will show how to set and use the variables.
The naming convention for variables is the path through the xml, section/group/form. So the url variable from the previous post is shipping/mydispatch/url.
The function to retireve the value of the variable is
Mage::getStoreConfig(’shipping/mydispatch/url’)
for a specific [...]
Configuration variables in Magento control the setup an operation of your store, through the configuration settings in the admin portal. Creating new configuration variables and sections for your own modules is very straight forward.
Looking at the configuration for an existing configuration section, the Locale options in the General section.
So we can write the location of [...]
Magento is built using the MVC model, this provides for clear sepperation of the logic and display. Each part of Magento is constructed as a module which adhears to this convention. When developing new modules you must also adhear to the convention.
Initially the structure can be a little hard to understand, however once over the [...]