Using the calendar class |
[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
[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
[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
[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... |
Welcome Guest, Not a member yet? Register Sign In |