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

how to display the search form on the header
 
darken15
Jr. Member
 
Total Posts:  1
Joined:  2009-04-08
 

Hello everyone,

I am a newbie at Magento and i need your help. Can anyone guide me how to display the search form at the header?

Thanks,

Dan

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jakub@WebCatch
Sr. Member
 
Avatar
Total Posts:  215
Joined:  2009-11-06
Nottingham, UK
 

Put this code:

<?php echo $this->getChildHtml('topSearch'?>

Inside /app/design/frontend/default/your_skin/template/page/html/header.phtml. Then style it so that it appears exactly where you want it…

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