Kalender 1.03

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Steven

Re: Kalender 1.03

Post 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! ;)
Locked

Return to “Modules/Add-Ons”