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

Moving a block for specific pages
 
Anjanesh
Sr. Member
 
Avatar
Total Posts:  136
Joined:  2008-03-15
Mumbai, India
 

For the home page, I needed to move the catalog.topnav (top menu) to the bottom (remains on top as default on rest of the pages).
I managed to get this done by editing the XML Layout in the CMS by

<remove name="top.menu" />
<
reference name="content">
<
block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/>
</
reference>
or
<reference name="top.menu">
<
remove name="catalog.topnav" />
</
reference>
<
reference name="content">
<
block type="catalog/navigation" name="catalog.topnav1" template="catalog/navigation/top.phtml"/>
</
reference>

Is there some easier way to move a block to another section ?

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