Board Logo

Solution for Month Error
islandgrrl - 12/19/2004 at 03:48 AM

If your calendar heading is displaying the name of one month previous instead of the current month (i.e., right now displaying November 2004 instead of December 2004) I have a fix. It may only work for people using time zones with a negative number.

In /cl_files/calendar.php, find the line in function make_date():

return $this->get_date($format, mktime(0, 0, 0, $m, $d, $y));

Change it to this:

return $this->get_date($format, mktime(0, 0, 0, $m+1, $d, $y));

Hope this helps.

Sure would have saved a lot of time if someone was supporting this software...


tp215a - 12/24/2004 at 07:17 AM

You go girl!!! I just noticed that issue and was looking for a fix!! Thank you. I hope this company does pick up their support. I would (believe it or not) like to purchase this software...

By the way... would you happen to know how to format the output of the "Events list"? I (as quite a few other individuals in this forum) would like to add the date to this list and also have the ability to display a "months worth of events"...

your thoughts would be most appreciated.

Thank you for your time!!


Psalm 103 - 12/24/2004 at 07:24 AM

I would like to purchase as well, but it seems like since its free, you're on your own.

Just got to dig your heels deep, and keep plugging away at it. I've been working at it for days, and I've made strides.


tp215a - 12/24/2004 at 07:44 AM

Thank you... I have also been working at it for a few days. Good luck to you also...


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/