title: Move the Search Box in Magento into Main Page
body: <p>I am trying to move the search box into my main page. Specifically, at the start of my ‘col-main’ section (main section). I have Googled the problem and have been trying for hours, and am really struggling..</p>
  
  <p>I copied this from my ‘default/modern/layout/catalogsearch.xml’ page:</p>
  
  <pre><code>&lt;default&gt;
      &lt;reference name="top.bar"&gt;
          &lt;block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/&gt;
      &lt;/reference&gt;
  &lt;/default&gt;
  </code></pre>
  
  <p>and pasted it into my ‘default/modern/layout/page.xml’ page, under ‘Page Header’ and before ‘Left Column’.</p>
  
  <p>I then went into ‘default/modern/template/page/3columns.phtml’ and pasted this:</p>
  
  <pre><code>&lt;?php echo $this-&gt;getChildHtml(‘topSearch’) ?&gt;
  </code></pre>
  
  <p>within this section:</p>
  
  <pre><code>&lt;div class="col-main"&gt;
          &lt;?php echo $this-&gt;getChildHtml(‘topSearch’) ?&gt;
                      &lt;?php echo $this-&gt;getChildHtml('global_messages') ?&gt;
                      &lt;?php echo $this-&gt;getChildHtml('content') ?&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>And I get nothing. What am I doing wrong? </p>