By n00b0101 on
I've installed the Webform module and enabled it, set permissions, etc., etc. I created a Webform content type and defined all of my fields, blah, blah, blah. But, when I go to the node itself, it only displays the body and not the form. Doing a print_r($form) doesn't output anything at all. Am I missing something? I even created a webform-form-23.tpl.php, which is the id of the webform node, and can't get any part of the form to print at all. I also don't see a way to go in and edit the fields of the webform once it's been created.
Driving me crazazy! Help?
Comments
Are you sure that you created
Are you sure that you created the webform correctly? You write "I created a Webform content type and defined all of my fields" but that sounds strange in the context of webform. For one, webform usually defined the "webform" content type during the installation, so you don't have to define the content type yourself. Also, adding fields to a webform is not done by adding cck fields to the content type, but by creating a webform node and then adding components on the second tab.
Yes, I'm sure :)
I selected Create Content -> Webform
Filled in all the fields and saved it, which then brought me to the screen in which I create the actual fields. Created a field for each form element, hit "Publish" and "Save", and nothing shows up, other than what I placed in the Title and Body areas of the first Webform page.
/)~~~
Did you also hit publish when you were on the form components page? That matters too.
:)
Yes, I did.
Yes, I did.
Have you tried switching to a
Have you tried switching to a standard (unchanged) theme like Garland?
Ok, I did, and it did appear,
Ok, I did, and it did appear, although I'm not sure why? Isn't a webform just part of print $content; ?
theming is more than just
theming is more than just printing variables in the template; maybe you've hidden something accidentally with css, or made a mistake overriding a theme function.
You are totally right!
You are totally right! Thanks so much...