I must say, I've tried all the calendar modules for xoops, and thus far this is the best one... but it's missing one feature. I'd like the "coming events" block (pical_coming_schedule) to only appear when there are events coming up. I see that the block template has "if $block.num_rows == 0", so it can tell that there are no events, but how can I get it to not even display the block at all. I've been trying to mess around with the pical_coming_schedule_show_tpl function from pical_coming_schedule.php since it's (I assume) "return $block;" that actually tells xoops to display it, so I was trying to figure out how to have it check num_rows before returning $block. is it something like this?
if( $num_rows > 0) {
return $block ; }
I'm pretty much faking my way through PHP, so I apolgize if I'm seeming retarded. :/
Thanks!