Welcome Guest, Not a member yet? Register   Sign In
calender class
#1

[eluser]mehwish[/eluser]
hello i am trying to generate calender and almost it has done but the problem i am facing is that when i press next or previous link calender is not dispalyed otherwise it is going correct when i press next url in the address bar is correct but calender with next month is not shown.

here is my code

Code:
class Poll_controller1 extends skylark {


    function poll_home()
    {
    $this->add_to_center(POLL,"poll_view1");
        $this->load_lcr_template();
$prefs = array (
               'show_next_prev'  => TRUE,
               'next_prev_url'   => 'http://skylarkv2/index.php/poll_controller1/show'
             );

$this->load->library('calendar', $prefs);




function show()
{
echo $this->calendar->generate($this->uri->segment(3), $this->uri->segment(4));
}

please tell me where m making mistake or missing something
#2

[eluser]toymachiner62[/eluser]
Check out this post.
http://ellislab.com/forums/viewthread/195201/




Theme © iAndrew 2016 - Forum software by © MyBB