title: Calendar class in Codeigniter not showing next/previous months
body: <p>I am trying to generate a calendar and almost have it, but when I click the next or previous links, the calendar is not displayed - otherwise it is correct. When I click the next url the address bar shows the correct url, but the next month is not shown.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>class Poll_controller1 extends skylark {
  
  function poll_home()
  {
      $this-&gt;add_to_center(POLL,"poll_view1");
      $this-&gt;load_lcr_template();
      $prefs = array (
             'show_next_prev'  =&gt; TRUE,
             'next_prev_url'   =&gt; 'http://skylarkv2/index.php/poll_controller1/show'
           );
  
      $this-&gt;load-&gt;library('calendar', $prefs);
  }
  
  function show()
  {
      echo $this-&gt;calendar-&gt;generate($this-&gt;uri-&gt;segment(3), $this-&gt;uri-&gt;segment(4));
  } 
  </code></pre>
  
  <p>Am I making mistake or missing something?</p>