title: Only render specified view - CakePHP
body: <p>I would like to render the view by itself, I want to avoid rendering the <code>&lt;head&gt;</code> and other sections defined in the default.ctp file.</p>
  
  <p>I have the info that I want to render in an element: </p>
  
  <pre><code>&lt;?php
  
  echo $post['Post']['id'];
  
  ?&gt;
  </code></pre>
  
  <p>How can I accomplish this? It is for an ajax response.</p>
  
  <p>Thanks!</p>