[eluser]ericsodt[/eluser]
I am having an issue with the Calendar class... I am new to code igniter so please bare with me.
Given the example for creating <<previous and next >> links
Code:
$this->load->library('calendar');
$prefs = array (
'show_next_prev' => TRUE,
'next_prev_url' => 'http://www.your-site.com/index.php/calendar/show/'
);
echo $this->calendar->generate($this->uri->segment(3), $this->uri->segment(4), $prefs);
I am unable to see the links as it stands now. I am guessing that there is other code needed, however there is no documentation for me to look at to see what I am missing.
My main goal is to create a calendar and when the day is clicked retrieve some information about that day and display it on another page.
I am looking to give the user the opportunity to go to the previous and next month aswell and that is where I am having a problem.
Any help with this is greatly appreciated.
Thanks