I need help to customize the webforms admin view page so that I can include below features to organize the webforms

Filtered
Group Webforms
Allow Group Level Access Permissions
Paginated

As per here I tried to create a custom admin page , But I dont see webform in Show, only I can see is webform submission

Please help

Thanks

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

blpraveen22’s picture

Issue summary: View changes
blpraveen22’s picture

Issue summary: View changes
DanChadwick’s picture

Version: 7.x-4.0 » 7.x-4.x-dev

There isn't currently a view for displaying the webforms in the content menu, but that's a good idea.

Until then, you can implement THEME_webform_admin_content in your theme. I'm not sure what data you need to get what you want above, however.

If you can create everything you need from views if you had support for the Edit, Components, and Clear column, I'd be open to a patch that adds these to the views integration and replaces this table with a view.

Also, be sure to use the latest released version, currently 7.4-4.2.

DanChadwick’s picture

Title: Organize Webforms » Use views to display webform list in content menu
Version: 7.x-4.x-dev » 8.x-4.x-dev
Status: Active » Patch (to be ported)
Issue tags: -admin feature
FileSize
16.05 KB

This patch adds views support to enable a listing of webform nodes and create links for the various administrative actions. As with the submission table and the results table, the legacy built-in table may be used by setting the global webform_table to TRUE.

If you wish to customize the display of webforms, simply override the webform_webforms view.

Committed to 7.x-4.x. Patch needs porting to 8.x

  • DanChadwick committed 2ac38f3 on 7.x-4.x
    Issue #2416241 by DanChadwick: Use views to display table of webforms.
    
DanChadwick’s picture

Category: Feature request » Task

  • fenstrat committed 983c82c on 8.x-4.x
    Issue #2416241 by DanChadwick: Use views to display webform list in...
fenstrat’s picture

Version: 8.x-4.x-dev » 7.x-4.x-dev
Category: Task » Feature request
Status: Patch (to be ported) » Fixed

Committed and pushed to 8.x-4.x. Thanks!

Nice work here Dan. I've just gone ahead and committed it basically as is, I've still not got to views integration in 8.x at all so it's obviously totally broken, again mainly committed to keep the branches in sync as much as possible.

As we've discussed once views integration is ready to be update I'll be scrapping the original hard coded non views listings.

DanChadwick’s picture

And then the webform_table config can go too!

fenstrat’s picture

Indeed!

Status: Fixed » Closed (fixed)

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

blpraveen22’s picture

FileSize
144.41 KB

Hi @DanChadwic,
I have made a initial module which meets our manager requirement. And need to go it reviewed by developers on drupal.

I am attaching the complete modules I have one issue with installation which shows error .
It does not create column field_webform_group_input_select in field_data_field_webform_group. I have manully added.

I want someone to review and give feedback.

blpraveen22’s picture

Status: Closed (fixed) » Needs review
blpraveen22’s picture

FileSize
90.55 KB

Adding library files

Status: Needs review » Needs work

The last submitted patch, 4: webform-views_for_webforms_table-2416241-4.patch, failed testing.

blpraveen22’s picture

Status: Needs work » Needs review
DanChadwick’s picture

Status: Needs review » Closed (fixed)

The webform issue queue -- and certainly not a closed/fixed issue -- would not be the place to get feedback on your module. Please try the forums, IRC, stackexchange, or your local Drupal user group.