Thailand Magento Ecommerce Blog

Define the basic terms, elements, and structure of system configuration XML:

  • How can elements in system configuration be rendered with a custom template?
  • How does the structure of system.xml relate to the rendered elements in the System Configuration view?
  • How can the CSS class of system configuration elements be changed?
  • What is the syntax for specifying the options in dropdowns and multiselects?
  • Which classes are used to parse and render system configuration XML?
  • What is the syntax to specify a custom renderer for a field in system configuration?
  • How does Magento store data for system configuration?
  • What is the difference between Mage::getStoreConfig(...)and Mage::getConfig()->getNode(...)?

These code references can be used as an entry point to find answers to the questions

above:

  • Mage/Adminhtml/Model/System/Config/*
  • Mage/Adminhtml/Block/System/Config/*

Describe system configuration scopes:

  • How do different scopes (global, website, store) work in Magento system configuration?
  • How does Magento store information about option values and their scopes?

These code references can be used as an entry point to find answers to the questions

above:

  • core_config_data table
  • Mage_Core_Model_Core_Config_Data
  • Mage_Core_Model_Resource_Config_Data
  • Mage_Core_Model_Resource_Config_Data_Collection