title: Header and footer in CodeIgniter
body: <p>I really don't enjoy writing in every controller:</p>
  
  <pre><code>    $this-&gt;load-&gt;view('templates/header');
      $this-&gt;load-&gt;view('body');
      $this-&gt;load-&gt;view('templates/footer');
  </code></pre>
  
  <p>Is it possible to do, that header and footer would be included automatically and if we need to change it, we could also do that? How do you deal with that? Or it's not a problem in your opinion? Thanks.</p>