Using the calendar class - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Using the calendar class (/showthread.php?tid=3951) |
Using the calendar class - El Forum - 10-30-2007 [eluser]stef569[/eluser] Hi, I just started using CI after watching the video tut. I'm trying to create a calendar with links in it and the user should be able to insert a beginning and ending date and all the days between those two dates should be colored red. I have 2 users, each having it's own name wich should show up as as link Name. I created a db and connected fine. I created a controller: Code: <?php and a calendar_view: Code: <html> The calender shows up. Now I want the go left and go right arrows to work. But when I push on then i get a CI 404 page. I tried manualy to goto the /show/ function but that alsoo produced a 404 error. What m I doing wrong? Stef Using the calendar class - El Forum - 10-31-2007 [eluser]stef569[/eluser] Note: I'm testing localy and my base url looks like this: Code: $config['base_url'] = "http://localhost/CI/"; The following url's return CI 404 page. http://localhost/CI/index.php/calender/show/2007/12 http://localhost/CI/index.php/show/2007/12 Using the calendar class - El Forum - 10-31-2007 [eluser]gtech[/eluser] hi, this worked for me, you should be able to cut and paste (all I have really done is renamed the function index to show) Code: <?php Using the calendar class - El Forum - 10-31-2007 [eluser]stef569[/eluser] Thanks for the reply gtech, I understand now :p I tought show was a calender function but it's realy a function you make up yourself... |