I installed 6.x-3.2 and created a new webform. The new UI is kind of throwing me off. It's strange to see what looks like a node edit form and have to dig to get to the form. Anyway, I have a bit of text in the body field, and have added form elements and saved the form. "Published" is checked, but when I view the page, I only see the text from the body field - no actual form. Why is this?

Comments

quicksketch’s picture

Hm, I'm not sure. So you've visited node/x/webform and already set up some fields right? Are you logged in as user #1 or another user?

nitrospectide’s picture

I have gone to site.com/contact-us (I've aliased the path) and I am logged in as an admin user (not UID 1).

quicksketch’s picture

Has your admin user role (or the "authenticated user" role) been granted access to submit the form at node/x/webform/settings?

nitrospectide’s picture

Yes. Under "Form Settings"... Submission Access all of the roles are checked.

Anonymous’s picture

Came here to report a similar issue. If - for example - I add a webform into a panel as an existing node, it all works fine. However if I want to view the node directly the form does not appear.

quicksketch’s picture

I can't tell what the problem is here.

Tino’s picture

Just installed Webform 3.2 and created a webform.
Only admin can see the page, other (anonymous) users cannot. First I selected all roles for the form, later I tried turning off access control. Both don't work. The end-result remains unaccessible to all users except #1...

quicksketch’s picture

Only admin can see the page, other (anonymous) users cannot.

Can "see" the page? You mean they can't get to the page at all? Is this different from the page being accessible but the form not showing up?

Tino’s picture

Thanks for you fast response!

They cannot access the created webform/page, so they cannot fill it in:
Page not found
The requested page could not be found.

Only admin (the creator of the webform) can.
I can't seem to figure it out...

quicksketch’s picture

This sounds like a problem with an access control module on your site. Webform never prevents access to the page entirely, it just prevents users from seeing the form once they're on the page. Since webforms are just nodes, I'm guessing that something is preventing access to them through the node access control system.

Tino’s picture

You are right! The nodeaccess module got in the way somehow...
Thanks for helping and this wonderful module!

quicksketch’s picture

Status: Active » Postponed (maintainer needs more info)

Sweet. Well that still sounds like a different issue than the one originally described, which I haven't been able to reproduce. If steps can be provided to reproduce the problem from a stock Drupal install I'll have a look.

nitrospectide’s picture

I went to a fresh install, and Webform 3.2 worked as advertised - no problem showing the form. So I began to hack down a copy of my site, and it seems that switching form the custom theme to garland makes the form suddenly appear. The thing is, I had done a view source on the pages with the missing form, and it was not in the page markup. So something in the theme is causing it not to come out in the page render... I looked through the contents of template.php, and pulled things out, but nothing seemed to be the culprit. I'm puzzled now. Anyone have ideas?

quicksketch’s picture

Try removing your page.tpl.php file(s), clearing the caches, and seeing if the form shows up.

nitrospectide’s picture

I dug around and figured it out. Somehow, the node.tpl had gotten gunked.

quicksketch’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)