Hi Cristhian, thanks for this useful module.

I have started the drupal 7 port on this sandbox for track changes, but I don't have intention to fork this project.

I hope that, if valuable, you will open the official branch pulling the sandbox.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

robertom’s picture

Status: Active » Needs review
chrispooh’s picture

I'm interested in this on d7. Is there any working module?

Anandkumar’s picture

@robertom,
Thanks a million for your code! I almost used your code for a project, but I ended-up implementing a custom views_data module. As I was working, I encountered some bugs in your code that I ended-up correcting. And, since I may not use drupal for some time, I thought I would upload your code with my bug fixes as well.

Thanks, and hope this helps someone.

Cristhian’s picture

Did anyone test this?

ambientdrup’s picture

I've tested the D7 port and it's working on my site. I've been able to pull out all my Webform data into the View table display via this module. I'm getting one error when trying to pull out data from a select field (radio buttons):

Notice: undefined index: options_source in _webform_select_options() line 772 of /webform/components/select.inc).

The data is still showing up in the table display on my View page so it's probably just some weird glitch with the Webform module. I'll troubleshoot. The error disappears if I disable errors from printing to the screen.

Otherwise this does exactly what it is supposed to do!

Best-

Trevor

ambientdrup’s picture

Also - how can we get the official D7 release active on the module project page?

Additionally I'm using the code posted via the .zip file here:

http://drupal.org/node/1219954#comment-5078056

-Trevor

ambientdrup’s picture

Added version # in the .info file:

version = "7.x-1.0-rc1"

Not sure what specific version you'll want to use. I called it -rc1.

Let me know if you can patch the .info file with the version #.

We tested the module again this afternoon and it works. I think it's ready for official port release.

Additionally the undefined index error was related to the Webform module, not to this specific module.

-Trevor

rikki_iki’s picture

Patch seems to be working, such a good module - thanks for porting it!

I get the same Undefined index error selects even when no selects have been loaded to the view.
I know it's a Webform error but is there a fix for it?

rikki_iki’s picture

Oh I'm also getting an error on Date fields?

Notice: Undefined property: stdClass::$webform_submitted_data_startDate_data in webform_views_submitted_handler_field->render() (line 31 of /home/drupal/sites/all/modules/webform_views_submitted/webform_views_submitted_handler_field.inc).

Using the zip from #3.

rogical’s picture

Just to say D7 users may consider to use entityform which're views integrated natively.

sisko’s picture

I just tried your module and it works fine ... thank you very much.

It does however show an error I want to make you aware of:

Notice: Undefined index: options_source in _webform_select_options() (line 758 of /var/www/test4.localhost/sites/all/modules/webform/components/select.inc).

j4’s picture

Just to add my vote that the module works perfectly for me without any errors. But I must say that I have only simple text fields and no date or select fields.

Thank you for the module!
Jaya

Cristhian’s picture

Co-maintainer needed guys.

stano.lacko’s picture

I think you can upload this version as 7.x-1.x-dev I tested in on Drupal 7.14, Views 7.x-3.3 and Webform 7.x-3.18 on PostgreSQL 8.3 database and works well.

Great job.

vishusrinivasan’s picture

FileSize
5.03 KB

The module works fine expect that there are duplicates for multiple select options i.e each option of multiple select options are displayed in a new row, (the same issue discussed here in the 6.x version http://drupal.org/node/1191720 )
Find attached screenshot.

I also confirm that I get errors as mentioned in #11 and #5.
Can anyone kindly help in solving this issue?

Altcom_Alan’s picture

Issue summary: View changes
FileSize
3.44 KB

I've used the version of the module in #3 but I found a problem with multiple forms with components with the same key.

Since this module uses the component key for the views data key each component with the same key overwrote the previous ones when the module was creating the views data so I ended up with only one version of each component for the last webform to include it.

I've modified the code so that it uses the nid plus the component key to create the views data key and now I can access all the components for all webforms. I also modified the title to include the node title so it was possible to tell the components apart in the views admin once they were added to the display - the help text is only shown when adding a field or filter and not afterwards.

lquessenberry’s picture

#16 works great for me. This was much needed for Webform 3 users like myself. Please please please adopt and publish this module.

nicholasThompson’s picture

#16 works VERY well for me too. Can this be promoted to a branch/tag?

ouelmart’s picture

#16 worked for me too but, when you use the grid element in a form the view outputs one line for each option in that grid without info about about the questions.