Re: hide "coming events" block when no coming events
List posts in the topic
Re: hide "coming events" block when no coming events
msg# 1.1.1.1.1.1
OK.
I didn't think the option of "untildays".
It is also a bug of piCal_xoops.php
Fix this:
line 404 of piCal_xoops.php
wrong:
if( ++ $count > $num ) break ;
// 開始日が$untildaysより先であれば、そこで打ち切り
if( $untildays > 0 && $event->start > $this->unixtime + $untildays * 86400 ) {
$num_rows = $count ;
break ;
}
right:
if( $count >= $num ) break ;
// 開始日が$untildaysより先であれば、そこで打ち切り
if( $untildays > 0 && $event->start > $this->unixtime + $untildays * 86400 ) {
$num_rows = $count ;
$block['num_rows'] = $num_rows ;
break ;
}
$count ++ ;
I've just fixed piCal_xoops.php as 0.87b.
Download the latest archive and update piCal_xoops.php
Votes:0
Average:0.00
Posts tree