Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

main.xml & setting parent block
 
seldon
Sr. Member
 
Total Posts:  92
Joined:  2007-11-08
 

Hi,

Is there a way to set a parent block for a particular section using the main.xml. In my case i want the <customer_account_index> section to have as parent not the <default> section, but the <customer_account> section. Is this possible?

Thanks,

Seldon

 
Magento Community Magento Community
Magento Community
Magento Community
 
seldon
Sr. Member
 
Total Posts:  92
Joined:  2007-11-08
 

Found it. It was already done in the main.xml but i missed it. Use:

<update handle="parent_handle"/>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top