Maybe the problem is caused by the update bug I filed at http://drupal.org/node/574006#comment-2750286 but I updated specifically for the option "Hide select all checkboxes" and it has no effect on my vbo view, unfortunately.

I also just noticed that I actually would need an option "Hide select all available rows" because I have the problem that my users get an SQL error for a certain action over all rows, so I'd like to hide only the "select all rows" buttons, not the "select all" checkbox for a single page of the pager.

A pointer for how to hide that button for one specific view would be very, very welcome.

P.S. Thanks so much for VBO, it's a great module!

Comments

itsnotme’s picture

Addendum: As I just found out, my SQL error is gone with the VBO update. Whee! So I don't need the option for "hide all rows button" any longer. However, I guess I might not be the only person who would like to have these two options separated that are currently combined in the code.

"Hide select all checkboxes" still doesn't work for my VBO view, though.

Shai’s picture

I would love "Hide select all checkboxes" to work.

Here is a temporary css workaround:

th.select-all input.form-checkbox {
	display: none;
}

Of course, do remember to be more specific in your css so you don't turn off all select-all boxes on your whole site. Just go further up the document tree to find a view selector that will restrict the behavior to just the view in question, unless of course your intention is broader.

Shai

MacaroniDuck’s picture

Is this still a "known issue". I would like this feature to work as well (it doesn't on my install).

infojunkie’s picture

Category: support » feature
dkinzer’s picture

Version: 6.x-1.9 » 6.x-1.x-dev

I noticed this too on HEAD = 9358f8c0b8630164ebbe81b067af7f4eb350cda7
Part of the reason I think it's not working is that:

<?php
//...
function theme_views_node_selector($element) {...
    $hide_select_all = @$view->display['default']->display_options['style_options']['hide_select_all'];
//...
?>

Should be:

<?php
//...
function theme_views_node_selector($element) {...
    $hide_select_all = @$view->display[$view->current_display]->display_options['style_options']['hide_select_all'];
//...
?>

Note the change from display['default'] to display[$view->current_display]

bojanz’s picture

Status: Active » Closed (fixed)

Works in 6.x-1.x (which no longer has the code shown in #5).