title: Loading View Page In Library In Codeigniter
body: <p>In my codeigniter i created a library in library folder.I want to load view pages in that library.How can i do this?</p>
  
  <p>This is my code:</p>
  
  <pre><code>$this-&gt;load-&gt;view('view_page');
  </code></pre>
  
  <p>But when iam using this code i get an error:</p>
  
  <pre><code>A PHP Error was encountered
  
  Severity: Notice
  
  Message: Undefined property: CI_theme_lib::$load
  
  Filename: libraries/theme_lib.php
  
  Line Number: 9
  </code></pre>
  
  <p>What is the problem in mycode?</p>
  
  <p>In Line number 9 in library the code is :</p>
  
  <pre><code>$this-&gt;load-&gt;view('view_page');
  </code></pre>