There is no style class on the td table for the checkbox:

<tr class="rowclick odd"><td>...
</td>

This makes it more difficult to theme this cell.

Comments

creeksideplayers’s picture

I don't know if this has anything to do with it but I'm seeing this error when I view the theme information for the view that is using VBO:

Style output: views-view-bulk.tpl.php (File not found, in folder modules/views_bulk_operations/), views-view-bulk--dues.tpl.php, views-view-bulk--.tpl.php, views-view-bulk--default.tpl.php, views-view-bulk--dues--default.tpl.php

juampynr’s picture

Title: No style class for checkbox cell » Not possible to theme table
Version: 6.x-1.13 » 6.x-3.x-dev
Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new3.06 KB

Table cells are not themeable either.

Here is a patch that offers a theme hook so other modules or the default theme can override the way rows are rendered (and therefore alter the row/cell classes added by the module).

related issues: #366355: Make VBO work with different Views styles and #1015972: views-view-bulk.tpl.php not found in sites/all/modules/..

kscheirer’s picture

I ran into this problem too, it's really annoying that VBO doesn't provide view templates for its style plugin!

The patch works, but you can actually override the theme_views_node_selector() theme function directly, and modify the row classes there. You don't actually need this patch, although I do think it makes it easier and cleanly separates out the row logic.

joelpittet’s picture

Version: 6.x-3.x-dev » 6.x-1.x-dev
Issue summary: View changes

Closing to clean up the queue

joelpittet’s picture

Status: Needs review » Closed (outdated)