Hello

People informed me today that all webforms is gone on our site and only display the node title.
Upon inspection I noticed that the content type is missing. Adding the row to drupal_node_type from a backup doesn't help. Now the row is there but the content type is not in the list of content types. If I change the module value from webform to node it appears in the list.
I can't understand how it got deleted since it's not possible to delete it.
I upgraded to 3.6 but no luck there either.

Thanks in advance

Comments

quicksketch’s picture

If I change the module value from webform to node it appears in the list.
I can't understand how it got deleted since it's not possible to delete it.

If you upgraded from 2.x recently, the Webform content type may appear to be "gone" until you run update.php. In Webform 2.x, Webform "owned" the "webform" content type. In 3.x, the Node module owns the "webform" content type and it is no longer a special and can be deleted just like any other content type.

If you're running the 3.x branch, make sure that the entry in the node_types table is owned by node module. If using 2.x, it should be owned by webform. After making any changes, be sure to clear your caches at admin/settings/performance.

bof’s picture

Status: Closed (fixed) » Active

I solved it. I had to assign the webform content type to the webform module at admin/settings/webform.

bof’s picture

Status: Active » Closed (fixed)

Status: Active » Closed (fixed)
laamka’s picture

Issue summary: View changes

I have the same problem, missing the webform content type, but when I go to settings I don't see it in the list only these: content types
Article
Basic page
Blog entry
Event
Main Slideshow Slide

I used webform with Drupal 6 with no problem

DanChadwick’s picture

Priority: Critical » Normal

You can create the webform content type yourself if you want. Then do #2. There is an option when upgrading to not create it for you if you.

laamka’s picture

I am not very experienced...how do I get started creating the webform content type myself so that it resembles what I had in Drupal 6? is there a tutorial somewhere?

DanChadwick’s picture

Visit Structure / Content Types / Add content type. Create the content type (calling it webform, if you want). Make sure that you enable webform functionality under the Webform vertical tab at the bottom of the content type form.

laamka’s picture

I think I have it working, thanks!