title: codeigniter, Ion, Bootstrap
body: <p>I am working on implementing the Ion Auth library into codeigniter with a bootstrap template.</p>
  
  <p>Now the auth.php conroller file is calling the views but I want those views to be put into my controls so i can show them in my mail template like this:</p>
  
  <pre><code>&lt;?php echo $content; ?&gt;
  </code></pre>
  
  <p>My auth.php file calls the views like this originally:</p>
  
  <pre><code>$this-&gt;_render_page('auth/login', $this-&gt;data);
  </code></pre>
  
  <p>But i would like to call them this way:</p>
  
  <pre><code>$this-&gt;load-&gt;view('template/user', array("content" =&gt; $this-&gt;_render_page('auth/login',$this-&gt;data array())));
  </code></pre>
  
  <p>This doesn't seem to work. My auto/login page appears above the template/user, but it should appear inside.</p>
  
  <p>Does anyone know how I can solve this problem?</p>