Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Does unsetChild only remove the content of the block? 
 
danpowered
Jr. Member
 
Total Posts:  9
Joined:  2008-05-01
 

I’m trying to remove the header (i need to do so for some ajax content), but if i try using :

<remove name="header"/>
<
remove name="menu"/>

or

<reference name="root">
  <
action method="unsetChild"><name>header</name></action>
  <
action method="unsetChild"><name>menu</name></action>
</
reference>

and i look at the code generated, the header div is still there, but empty.  Moreover, its still showing on the page as a blue bar on top, even if its empty.

How can i completely remove parts of the page, including the block itself?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
laurent
Member
 
Total Posts:  57
Joined:  2007-08-31
Paris, France
 

I think it’s a design question…

Maybe, just move your header div from your page template into your header template?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
49827 users|702 users currently online|101760 forum posts