My calendar is:
No event shows up when I click it.
I have specified the type for "December" to be bold but it isn't. In other words, the "Ccur" and "Cheader" dont seem to be working (somewhat).
If I put the events on the same page it will throw everything to the right.
Got it figured out.
How do I customize the size of the month calendar? Helloooooo? :)
You can "adjust the size" of the calendar by placing your code into a "table":
error_reporting (E_ALL ^ E_NOTICE);
new calendar('your calendar name');
$calendar->init('your calendar name');
<td background="assets/back.jpg" valign="top">
$calendar->show_event($CLd,$CLm,$CLy,'your calendar name');
Thanks a lot, man.
I'll try that!
You are welcome!! Hope it helps...
Especially on the show event string.
the show event string...
In the "Calendars Config" section:
Open event list at URL: events.php?CLd=%d&CLm=%m&CLy=%y
Open event list target: _self
The table resizing...
do not forget to add the size for the table
Now the date doesn't want to show up on the events page, plus I've tried to change the format of the date from "18 Dec 2004" to
"Dec 18, 2004".
Not only that, the date doesn't change over from Dec. to Jan. in the December month! Ugh! :)
sent u a "u2u" message... it looks as if your "time zone" is incorrect...
How do you know my time zone is off??
Fixed it. It better not mess up again! :-)
Now. The $date string in the events listing doesn't work, and I've changed the format in calendar.php to reflect the change.
That is something that I have been trying to figure out also! Please let me know if you figure it out and I will do the same...
I dont understand why in the December calendar, January 1 = December 1??
:-) :-) :-) ?????
I am unsure how you fixed the "time zone" issue, but my suggestions would be to delete the calendar and recreate it.
BEFORE you delete, however, do the following:
Please write in line 172 calendar.php file (in function drop) the following:
Why on earth would I do that?
I got the date to work in the event listing. I'm not sure how. I believe I changed around the "d M, y" in the get_date or make_date function.
Thank you, I figured it out ...
I added $date in the "event listing" and it showed up..
Another interesting thing happens when I update using the "templates config" via the control panel... my "time zone" is set back to its original deliver time zone: Afghanistan... just an fyi
To change the $date:
show_event function ...
change 'd M,Y' in the following string to print out whatever format you want...
if you put 'F d, Y' your output will look like: December 25, 2004
$head = str_replace('$date', date ('d M, Y',mktime(0,0,0,$this->a_selected_date['m'],$this->a_selected_date['d'],$this->a_selected_date['y'])), $head);
I got that event listing figured out. Thanks a lot.
I agree with you on the time zone thing - its best to stay at the original zone.
Now I'm trying to figure out (still) how to get the months to work. They work in the demo months. When someone is in December 2004 and they click on January 1, 2005, it goes back to December 1, 2004.
You must have gotten the months thing fixed? I didn't have the problems you talked about.
No. I didn't. That's the only thing left to figure out.
The months are still acting up (on the month calendar). How did you get yours to work?