Within a Magento layout, you can assign content blocks to structural blocks. If you recall, a structural block effectively positions the content within the page, while a content block provides the actual content within the page, whether it is a category list, callout, or the basket.
Within the layout XML files of your Magento store, there are three important elements:
In Magento, each module defines the layout for itself. For example, the checkout.xml
file defines the layout for the checkout module, whereas the customer.xml
file defines the layout of Magento's customer account module.