PEAK XOOPS - Only one category per event entry possible ? in englishin japanese

Only one category per event entry possible ?

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - No child | Posted on 2006/4/11 5:06
GIJOE  Gunnery Sergeant   Posts: 4110
line 2065:

	// Checkbox for selecting Categories
	$category_checkboxes = '' ;
	foreach( $this->categories as $cid => $cat ) {
		$cid4sql = sprintf( "%05d," , $cid ) ;
		$cat_title4show = $this->text_sanitizer_for_show( $cat->cat_title ) ;
		if( $cat->cat_depth < 2 ) {
			$category_checkboxes .= "<div style='float:left; margin:2px;'>\n" ;
		}
		$category_checkboxes .= str_repeat( '-' , $cat->cat_depth - 1 ) . "<input type='checkbox' name='cids[]' value='$cid' ".(strstr($categories,$cid4sql)?"checked='checked'":"")." />$cat_title4show<br />\n" ;
	}
	$category_checkboxes = substr( str_replace( '<div' , '</div><div' , $category_checkboxes ) , 6 ) . "</div>\n" ;

Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/10 18:14
Shufflebug  Private   Posts: 4
Is it "get_schedule_edit_html( )" ?
Votes:7 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/10 18:10
Shufflebug  Private   Posts: 4
Can you tell me what function it is to edit ?
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2006/4/10 15:43
Shufflebug  Private   Posts: 4
OK, that's no problem. I will try to display a radio button instead of checkboxes.

Thanks for your answer.

Shufflebug
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 .2 | Posted on 2006/4/8 4:56
GIJOE  Gunnery Sergeant   Posts: 4110
If you can read php/html, edit piCal.php.
I can say that there are no other clues.
Votes:2 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/7 19:04
Shufflebug  Private   Posts: 4
Hello,

at the moment it seems it is possible to define several categories for an event.
Can i configure piCal in that way, that a user is able to define only one of the available categories ? (e.g. per radio button instead of checkboxes)

Thanks in advance for an answer. I searched the forums here and on xoops.org but didn't find an appropriate answer redaring my issue.

Shufflebug.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!