Magento Open Source, 1.9.x

Magento 1.x Security Patch Notice
For Magento Open Source 1.5 to 1.9, Magento is providing software security patches through June 2020 to ensure those sites remain secure and compliant. Visit our information page for more details about our software maintenance policy and other considerations for your business.

Layout Update Examples

The following blocks types can be manipulated with custom layout instructions. Each action must be specified using the full syntax of the instruction. In the following examples, a simplified notation is used to refer to each action, which corresponds to the full syntax of the instruction.

  • Full Syntax
    <!-- Action can be specified inside either a <block>
     or <reference> instruction. -->
       <action method="someActionName">
          <arg1>Value 1</arg1>
          <arg2>Value 2</arg2>
          <!--   -->
          <argN>Value N</argN>
    <!--   -->
  •  Simplified Syntax
    someActionName($arg1, $arg2, ..., $argN)