title: Move Cart to Header in Magento 1.7
body: <p>I’m having trouble in moving the mini cart from sidebar to header. I’ve tried all the tutorials available in the internet but it doesn’t work.</p>
  
  <p>I also tried adding this in the header block of layout\page.xml</p>
  
  <pre><code>&lt;block type="checkout/cart_sidebar" name="cart_sidebar" as="topcart" template="checkout/cart/sidebar.phtml"
  </code></pre>
  
  <p>And then in my page\html\header.phtml, I use the code below to call the cart but nothing happened.</p>
  
  <pre><code>&lt;?php echo $this-&gt;getChildHtml('topcart'); ?&gt;
  </code></pre>
  
  <p>The solution above works in magento 1.6, but not in version 1.7</p>