Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Calendar Class misunderstandment! It is rlly important for me to be done untill Sunday!
#3

[eluser]GeorgeWeb[/eluser]
Man, you are great!
This helps but it works only when I get another month and them click on day as link, because in the beggining when I load the calendar my $year and $month are set to NULL, it is because they will show error if there's no value for them.
So I wanted to say that if I go to another month it will add it as a param in the url - Example: 2014/02/ and then if I click on a day it will be how I want to be - myfunction/2014/02/{day} but when I firstly load MyController/calendar/ with no params in the url and it shows me the current month but when I click on a day it will be myfunction///{day} and only the day will have value.
I am not sure if I explained it very well... Any ideas how to fix this?


Messages In This Thread
Codeigniter Calendar Class misunderstandment! It is rlly important for me to be done untill Sunday! - by El Forum - 01-23-2014, 10:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB