Hi yhahn,

Sorry to contact you here directly.
could not find the right instructions to
Just need some help from you regarding the following issue.

I have a created a view from a drupal database table using the data module with views and VBO.
The data module allows you to create a view from the adopted table.
But,
when I go to the views and edit the view added through the data module, i see no multi-checkbox list under selected operations.

I want to have all the operations that are available under the node view type to be available here, for my view created with data module. (views created with data module have a view type data table)

Any help greatly appreciated.
Please help me ...it's really urgent.

Thanks,
Nilesh Barve

CommentFileSizeAuthor
#4 no operations to select.png13.73 KBheld69
#1 data_vbo.tgz950 bytesinfojunkie

Comments

infojunkie’s picture

Title: bulk operations not listed on views created with data module » VBO integration
Category: support » feature
Priority: Major » Normal
Status: Active » Needs review
StatusFileSize
new950 bytes

Attached is a module to integrate Data tables with VBO, allowing bulk actions on data records. The module implements the necessary hook to inform VBO of data views, and implements a "delete record" action.

I think this module's best home would be Data, so please let me know if you're interested to take it in. Otherwise, I'll bundle it with VBO or somewhere else.

kruser’s picture

@infojunkie I tried the data vbo module to delete records, but it didn't work for me. It displayed a message that it was deleting and had the confirm button, after confirming it said it deleted all the records I selected, but they were still there.

infojunkie’s picture

@kruser: You need the latest VBO 6.x-1.x-dev for it to work. Can you try that and let me know? Thanks!

held69’s picture

StatusFileSize
new13.73 KB

I am using VBO in combination with the Data module but
haven't been able to get any operations in my view (under page:style options) to select from.

To setup my view i followed the steps as mentioned in:
http://nodeone.se/blogg/finally-webform-submission-data-in-views

After reading http://drupal.org/node/998670,
i tried, without succes, the data_vbo module together with the dev. version of VBO.
(still no operations select list)

I am using:D 6.20
views.6.x-2.12
VBO 6.x-1.x-dev
Data 6.x-1.x-dev

Help much appreciated...

Thanks

My view:

$view = new view;
$view->name = 'webform_submissions';
$view->description = '';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'webform_submissions';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('relationships', array(
  'sid' => array(
    'label' => 'submission_data',
    'required' => 1,
    'id' => 'sid',
    'table' => 'webform_views_theater_reservering',
    'field' => 'sid',
    'relationship' => 'none',
  ),
));
$handler->override_option('fields', array(
  'sid' => array(
    'label' => 'Sid',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'set_precision' => FALSE,
    'precision' => 0,
    'decimal' => '.',
    'separator' => ',',
    'prefix' => '',
    'suffix' => '',
    'exclude' => 0,
    'id' => 'sid',
    'table' => 'webform_submissions',
    'field' => 'sid',
    'relationship' => 'none',
  ),
  'aantal_kaartjes' => array(
    'label' => 'Aantal kaartjes',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'exclude' => 0,
    'id' => 'aantal_kaartjes',
    'table' => 'webform_views_theater_reservering',
    'field' => 'aantal_kaartjes',
    'relationship' => 'sid',
  ),
  'datum_van_de_voorstelling' => array(
    'label' => 'Datum van de voorstelling',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'exclude' => 0,
    'id' => 'datum_van_de_voorstelling',
    'table' => 'webform_views_theater_reservering',
    'field' => 'datum_van_de_voorstelling',
    'relationship' => 'sid',
  ),
  'emailadres' => array(
    'label' => 'Emailadres',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'exclude' => 0,
    'id' => 'emailadres',
    'table' => 'webform_views_theater_reservering',
    'field' => 'emailadres',
    'relationship' => 'sid',
  ),
  'naam' => array(
    'label' => 'Naam',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'exclude' => 0,
    'id' => 'naam',
    'table' => 'webform_views_theater_reservering',
    'field' => 'naam',
    'relationship' => 'sid',
  ),
  'submitted' => array(
    'label' => 'Datum reservering',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'date_format' => 'small',
    'custom_date_format' => '',
    'exclude' => 0,
    'id' => 'submitted',
    'table' => 'webform_views_theater_reservering',
    'field' => 'submitted',
    'relationship' => 'sid',
  ),
));
$handler->override_option('filters', array(
  'datum_van_de_voorstelling' => array(
    'operator' => '=',
    'value' => '',
    'group' => '0',
    'exposed' => TRUE,
    'expose' => array(
      'use_operator' => 0,
      'operator' => 'datum_van_de_voorstelling_op',
      'identifier' => 'datum_van_de_voorstelling',
      'label' => 'Datum van de voorstelling',
      'optional' => 1,
      'remember' => 0,
    ),
    'case' => 1,
    'id' => 'datum_van_de_voorstelling',
    'table' => 'webform_views_theater_reservering',
    'field' => 'datum_van_de_voorstelling',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('style_plugin', 'bulk');
$handler->override_option('style_options', array(
  'grouping' => '',
  'override' => 1,
  'sticky' => 0,
  'order' => 'asc',
  'columns' => array(
    'sid' => 'sid',
    'aantal_kaartjes' => 'aantal_kaartjes',
    'datum_van_de_voorstelling' => 'datum_van_de_voorstelling',
    'emailadres' => 'emailadres',
    'naam' => 'naam',
    'submitted' => 'submitted',
  ),
  'info' => array(
    'sid' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'aantal_kaartjes' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'datum_van_de_voorstelling' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'emailadres' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'naam' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'submitted' => array(
      'sortable' => 0,
      'separator' => '',
    ),
  ),
  'default' => '-1',
  'execution_type' => '1',
  'display_type' => '0',
  'hide_select_all' => 0,
  'skip_confirmation' => 0,
  'display_result' => 1,
  'merge_single_action' => 1,
  'selected_operations' => array(),
));
$handler = $view->new_display('page', 'Pagina', 'page_1');
$handler->override_option('path', 'reserveringbeheer');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
  'name' => 'navigation',
));
joachim’s picture

Version: 6.x-1.0-alpha14 » 7.x-1.x-dev

Upping the version to D7.

joachim’s picture

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

ZOMG this works OOTB on D7! Hooray for entities :D

Moving this back to D6.

joachim’s picture

Status: Needs review » Fixed

Committed with tweaks for the git era.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.