PEAK XOOPS - Re: hide "coming events" block when no coming events in englishin japanese

Re: hide "coming events" block when no coming events

List posts in the topic

question Re: hide "coming events" block when no coming events

msg# 1.1
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2006/7/13 17:42
GIJOE  ÀèǤ·³Áâ   Posts: 4110
You have to hack a php file directory.

blocks/pical_coming_schedule.php
	// setting properties of piCal
	$cal->conn = $xoopsDB->conn ;
	include( "$mod_path/include/read_configs.php" ) ;
	$cal->base_url = $mod_url ;
	$cal->base_path = $mod_path ;
	$cal->images_url = "$mod_url/images/$skin_folder" ;
	$cal->images_path = "$mod_path/images/$skin_folder" ;

	$block = $cal->get_blockarray_coming_event( "$mod_url/index.php" , $maxitem , true , $untildays ) ;


	if( $block['num_rows'] <= 0 ) {
		return array() ;
	}


	return $block ;
}


Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!