Provide basic output of submissions by implementing Webform hooks _webform_table_country_list() and _webform_display_country_list()

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Watergate’s picture

Title: Support webform results » Basic output of webform results
Assigned: Unassigned » Watergate
Watergate’s picture

Assigned: Watergate » Unassigned
Issue summary: View changes
Status: Active » Needs review
FileSize
2.88 KB

Find attached a patch creating a basic form of output of Webform submissions. I've changed hook_theme() with Webform's _webform_theme_component() and implemented functions to output the country code when viewing a submission (_webform_display_component()), listing submission results in a table (_webform_table_component()) and generating a downloadable file (_webform_csv_headers_component() and _webform_csv_data_component()).

I've created the patch Git aware, with git format-patch. I would appreciate it if you apply the path using git am webform_country_list-added-basic-output-2360777-2.patch. For more information see adding a commit author.

matthias_mo’s picture

Status: Needs review » Closed (fixed)

Thank you Niels for yout work, very much appreciated! I commited the patch to the repository

Watergate’s picture

Ok, good to see that my help is appreciated. Please let me know if I can be of any (more) help.

Niels