Reputation: 252
I have changed magento signup page layout from 1column.phtml
to 2columns-left.phtml
in customer.xml
. I need to display only one block on my magento Signup page left panel. All other blocks should be removed from the page. Currently I am getting three magento's default blocks on my left panel with my custom block.
How to remove other blocks using xml?
Anyone Please help.
Upvotes: 3
Views: 18128
Reputation: 2174
within local.xml
<customer_account_login>
<remove name="left.permanent.callout" />
<remove name="catalog.compare.sidebar" /> <!--product compare-->
<remove name="left.reports.product.viewed" /> <!--recently viewed prod-->
</customer_account_login>"
this way you can remove whatever blocks you want to.
Upvotes: 5
Reputation: 56
For this you have to have use remove tag with name of block in customer.xml in customer_account_login section
Upvotes: 1