What are the handles in magento (layout)?
Submitted by: AdministratorHandles are basically used for controlling the structure of the page like which block will be displayed and where. First level child elements of the node are called layout handles. Every page request can have several unique Handles. The handle is called for every page. handle for products belongs to virtual product type, PRODUCT_TYPE_simple is called for product details page of simple product type and PRODUCT_TYPE_virtual is called for the virtual product detail page and customer_logged_in handle is called only if customer is logged in. The muster_index_index handle is created by combining the frontName (muster), Action Controller (index), and Action Controller Action Method (index) into a single string and this handle will be called only when /muster/index/index url is accessed.
1 <layout version="0.1.0">
2 <muster_index_index>
3 <reference name="root">
4 <block type="page/html" name="root" output="toHtml" template="../somepage.phtml">
5 </block></reference>
6 </muster_index_index>
7 </layout>
Submitted by:
1 <layout version="0.1.0">
2 <muster_index_index>
3 <reference name="root">
4 <block type="page/html" name="root" output="toHtml" template="../somepage.phtml">
5 </block></reference>
6 </muster_index_index>
7 </layout>
Submitted by:
Read Online Magento Job Interview Questions And Answers
Top Magento Questions
☺ | What is Magento? |
☺ | Explain about the Modules of Magento? |
☺ | What are the commonly used block types? What is the special in core/text_list block type? |
☺ | Why I got Access denied error after installing new Magento extension through downloader and try to access its configuration settings? |
☺ | Explain about the history of Magento? |
Top Application Program Categories
☺ | AutoCAD Interview Questions. |
☺ | Microsoft Office Interview Questions. |
☺ | Microsoft Outlook Interview Questions. |
☺ | Microsoft Excel Interview Questions. |
☺ | MATLAB Interview Questions. |