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