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

help needed for understanding xml
 
nonu
Member
 
Total Posts:  60
Joined:  2008-03-26
 

Can anybody explain what does this mean

<wishlist_index_share>
<!-- Mage_Wishlist -->
<update handle="customer_account"/>
<reference name="content">
<block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml"/>
</reference>
<reference name="right">
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
</reference>
</wishlist_index_share>

this portion is shown in customer account page .I need to add the same block in my custom module for wholesale customer account .But if i am giving like this

<wishlist_index_share>
<!-- Mage_Wishlist -->
<update handle="customer_account"/>
<reference name="content">
<block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml"/>
</reference>
<reference name="right">
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
</reference>
<update handle="wholesalecustomer_account"/>
<reference name="content">
<block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml"/>
</reference>
<reference name="right">
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
</reference>
</wishlist_index_share>

then it is displaying this block 2 times

Please if anybody can explain this.Thanks in advance

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top