Archive for June 21st, 2009

Using magento configuration data (2009-6-21)

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 [...]

Adding configuration variables to Magento (2009-6-21)

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 [...]