title: remove Default Header:"CakePHP: the rapid..." from my "index.ctp"
body: <p>Following header is added to my index.ctp in CAKEPHP 2.XXX ....
  How can I remove it ?</p>
  
  <p>here you go:</p>
  
  <pre><code>&lt;div id="header"&gt;
      &lt;h1&gt;&lt;a href="http://cakephp.org"&gt;CakePHP: the rapid development php framework&lt;/a&gt;&lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>here is my index.ctp file</p>
  
  <pre><code>&lt;h1&gt;Blog posts&lt;/h1&gt;
  &lt;p&gt;&lt;?php echo $this-&gt;Html-&gt;link("Add Post", array('action' =&gt; 'add')); ?&gt;&lt;/p&gt;
  &lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;Id&lt;/th&gt;
          &lt;th&gt;Title&lt;/th&gt;
          &lt;th&gt;Action&lt;/th&gt;
          &lt;th&gt;Created&lt;/th&gt;
      &lt;/tr&gt;
  
      &lt;!-- Here's where we loop through our $posts array, printing out post info --&gt;
  
      &lt;?php foreach ($posts as $post): ?&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;?php echo $post['Post']['id']; ?&gt;&lt;/td&gt;
              &lt;td&gt;
                  &lt;?php
                  echo $this-&gt;Html-&gt;link(
                          $post['Post']['title'], array('action' =&gt; 'view', $post['Post']['id'])
                  );
                  ?&gt;
              &lt;/td&gt;
  
              &lt;td&gt;
                  &lt;?php
                  echo $this-&gt;Form-&gt;postLink(
                          'Delete', array('action' =&gt; 'delete', $post['Post']['id']), array('confirm' =&gt; 'Are you sure?')
                  );
                  ?&gt;
                  &lt;?php
                  echo $this-&gt;Html-&gt;link(
                          'Edit', array('action' =&gt; 'edit', $post['Post']['id']), array('confirm' =&gt; 'EDIT ?')
                  );
                  ?&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;?php echo $post['Post']['created']; ?&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
              &lt;?php endforeach; ?&gt;
  
  &lt;/table&gt;   
  </code></pre>
  
  <p>help me plz....</p>
  
  <p>I tried to add default.ctp in "app/layouts" but my application does not work... it shows only default.ctp but not my index.ctp </p>
  
  <p>following is my Controller file....</p>
  
  <pre><code>&lt;?php
  
      class PostsController extends AppController {
          public $helpers = array('Html', 'Form');
  
          public function index() {
              $this-&gt;set('posts', $this-&gt;Post-&gt;find('all'));
          }
          public function view($id = null) {
              if (!$id) {
                  throw new NotFoundException(__('Invalid post'));
              }
  
              $post = $this-&gt;Post-&gt;findById($id);
              if (!$post) {
                  throw new NotFoundException(__('Invalid post'));
              }
              $this-&gt;set('post', $post);
          }
           public function add() {
              if ($this-&gt;request-&gt;is('post')) {
                  $this-&gt;Post-&gt;create();
                  if ($this-&gt;Post-&gt;save($this-&gt;request-&gt;data)) {
                     // $this-&gt;Session-&gt;setFlash(__('Your post has been saved.'));
                      return $this-&gt;redirect(array('action' =&gt; 'index'));
                  }
                  $this-&gt;Session-&gt;setFlash(__('Unable to add your post.'));
              }
          }
          public function edit($id = null) {
              if (!$id) {
                  throw new NotFoundException(__('Invalid post'));
              }
  
              $post = $this-&gt;Post-&gt;findById($id);
              if (!$post) {
                  throw new NotFoundException(__('Invalid post'));
              }
  
              if ($this-&gt;request-&gt;is(array('post', 'put'))) {
                  $this-&gt;Post-&gt;id = $id;
                  if ($this-&gt;Post-&gt;save($this-&gt;request-&gt;data)) {
                  //  $this-&gt;Session-&gt;setFlash(__('Your post has been updated.'));
                      return $this-&gt;redirect(array('action' =&gt; 'index'));
                  }
                  $this-&gt;Session-&gt;setFlash(__('Unable to update your post.'));
              }
  
              if (!$this-&gt;request-&gt;data) {
                  $this-&gt;request-&gt;data = $post;
              }
          }
          public function delete($id) {
              if ($this-&gt;request-&gt;is('get')) {
                  throw new MethodNotAllowedException();
              }
  
              if ($this-&gt;Post-&gt;delete($id)) {
                  //$this-&gt;Session-&gt;setFlash(__('The post with id: %s has been deleted.', h($id))         );
                  return $this-&gt;redirect(array('action' =&gt; 'index'));
              }
          }
      }
  
  
      ?&gt;
  </code></pre>