Page 3 of 3

Re: Kalender 1.03

Posted: Sun Sep 25, 2005 10:41 am
by Steven
Hmm, Piratos quit?

Anyway, I fixed the bug (?) where the calender wasn't showed when there was no event for that month and thus no navigators. This would make some events unavailable when there are no events in a month before.

Open up Kalender.module.php with your favorite editor and go to line 906. You should see:

Code: Select all

  if($rs->RowCount() > 0)
  {
    if ($display=='list' OR $disp....
Comment out the this line

Code: Select all

if($rs->RowCount() > 0)
and the month will always be showed, but without events. Don't worry about the { }, PHP will/should handle it normally.

PS.
No wonder he quit, the code is hardly maintainable! ;)