Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The "Body" box is not displaying in Webform 7.x-4.0-beta1.
I have two sites running, both using Webform 7.x-4.0-beta1 and CK Editor 7.x-1.13. Both sites are running core 7.24.
The newer (and cleaner) site stopped displaying the "body" box, everything else is working fine. I am the creator and admin of both sites and I have not changed any code. I have checked all Webform and CK Editor settings, doesnt seem to be any issues there. Could it be a conflicting module? Any ideas?
Comment | File | Size | Author |
---|---|---|---|
missing body box.jpg | 45.2 KB | BobZA | |
Body Box visible.jpg | 21.68 KB | BobZA |
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedI strongly suspect this is not a webform issue. My webforms have bodies. I'm afraid you'll have to do some more debugging. If OTOH, you can reproduce this with a clean install of just webform, then please reopen.
Comment #3
kennethgv CreditAttribution: kennethgv commentedHello there. How did you solve your problem?
I have the exact same problem and I can't figure out how to solve the issue.
Perhaps it is another module affecting Webform?
Comment #4
DanChadwick CreditAttribution: DanChadwick commentedMake sure that it is set to display in admin > content type > display
Comment #5
Rejneesh Raghunath CreditAttribution: Rejneesh Raghunath commentedi am using Webform 7.x-4.2, i have the same problem, and i cannot find body in admin > content type > manage display.
Comment #6
Rejneesh Raghunath CreditAttribution: Rejneesh Raghunath commentedTemporary solution:
1. Uninstall Webform 7.x-4.2
2. Delete Webform 7.x-4.2 module files from server
3. Install an older version of webform (i installed Webform 7.x-3.21)
>. now the body section is visible to edit.
4. update webform to the latest version.
Comment #7
Rejneesh Raghunath CreditAttribution: Rejneesh Raghunath commentedComment #8
DanChadwick CreditAttribution: DanChadwick commentedJust looked into this. This is because of #1833040: Make Webform body field optional during install.
The body field isn't added to webform nodes by default. You can either just add it yourself using the content type UI or you can set
$conf['webform_install_add_body_field'] = TRUE;
in your settings.php file.Comment #9
DanChadwick CreditAttribution: DanChadwick commentedComment #10
kennethgv CreditAttribution: kennethgv commentedThank you for the quick answer, highly appreciated!
I don't know why I had the thought, that when the body was visible it would be able to make the webform as a block.
Do anyone know if the setting has been removed for making a block for the webform as default?
Comment #11
kennethgv CreditAttribution: kennethgv commentedNevermind. I found it when creating a webform (using it for the module panels everywhere).
Form settings -> Advanced settings -> "Available as block"