--- D:\Data\Download\Drupal52\views_checkboxes\views_checkboxes.module 2007-11-12 20:27:32.000000000 +-0100 +++ D:\Data\xampp\htdocs\caringlive\sites\all\modules\views_checkboxes\views_checkboxes.module 2007-12-03 17:54:14.000000000 +-0100 @@ -76,18 +76,24 @@ $form['filter'.$count]['#type'] = 'checkboxes'; unset($form['filter'.$count]['#theme']); // The view options are an array of objects, instead of the typical array. This will recreate // them as a typical form option array. $newoptions = array(); + + if(isset($form["filter$count"]['#options']['**ALL**'])){ + // We dont need the ALL checkbox.drop it. + array_shift($form['filter'.$count]['#options']); + }; + foreach ($form['filter'.$count]['#options'] as $option_id => $option) { foreach ($form['filter'.$count]['#options'][$option_id]->option as $num => $val) { $newoptions[$num] = $val; } } $form['filter'.$count]['#options'] = $newoptions; } } } } ?>