title: path for message(success/error) in magento?
body: <p>I want to change the position for message(success/error) in magento. I got the code for that.</p>
  
  <p>This one is layout:</p>
  
  <pre><code>&lt;layout&gt;
      &lt;default&gt;
          &lt;reference name="after_body_start"&gt;
              &lt;block type="core/template" name="top.messages" template="core/messages/top.phtml" before="-" /&gt;
          &lt;/reference&gt;
      &lt;/default&gt;
  &lt;/layout&gt;
  </code></pre>
  
  <p>This one is template file:</p>
  
  <pre><code>&lt;?php $_messageCollection = $this-&gt;getMessagesBlock()-&gt;getMessageCollection() ?&gt;
  
  &lt;?php if ($_messageCollection-&gt;count()): ?&gt;
  &lt;div&gt;
  &lt;?php
      echo $this-&gt;getMessagesBlock()-&gt;getGroupedHtml();
      $_messageCollection-&gt;clear();
  ?&gt;
  &lt;/div&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>This is one of the code used for change the error/success message to the top of the page.</p>
  
  <p>I need to change the design for the messages. Which file contain the messages.phtml? I used this path file <code>app/design/frontend/your_package/your_theme/template/core/</code>. </p>
  
  <p>But its not working. Can any one help to change the design for this. </p>
  
  <p>Thanks</p>