Hi,

I'm still a semi-newbie and I'm learning pretty quickly, but I've hit a roadblock today.

I am trying to figure out a way to automatically generate a node, or page based on the results of a webform. I then want to take these nodes and run them through the contentslider module to display these testimonials that were submitted through the form.
I don't think there is a way to do this as of yet... I've perused the site all day long, but I could be wrong.

I may just need some advice in getting started, any help would be appreciated.

Thank you in advance!
Adam

Comments

semperos’s picture

Just like you use content type creation forms (Administer --> Create content --> [Content type]) to create new content on your site, you can let other users do the same.

If you just want to collect some data from users, but not display it on your site in an automated fashion, you can use webforms, which will just email you the results and save them to its own table in the database. But if you want your users to actually generate some kind of content on the site, you want to give them a Content Type they can fill out.

You probably want to create your own "Testimonial" content type, and allow the proper users to "create" and "edit own" testimonials at the user permissions page (Administer --> User management --> Permissions). Once they have the proper permissions, you can provide them a quick link to http://example.com/node/add/[content type], which you can copy from the node/add page.

If you want to review what these users are writing before its published publicly on your site, you can install the Modr8 module which provides simple content moderation.

nobody_special’s picture

Thank you for the Modr8 suggestion. I've been searching for something like that as well. I have created a content type, however my hope was to auto fill a page as opposed to the user having free reign over page creation. Therefore the resulting pages created by the user would be a uniform portrayal of the webform I designed. I'm sure I will need to create a css stylesheet to display the data. I just cannot figure out the auto page creation part.

Thank you,
Adam

semperos’s picture

Glad to help, but I'm not sure I understand the difference between (A) letting someone enter fields into a content type that you define, or (B) letting someone fill out a webform with the same structure that you define and then auto-creating a page.

The simple "create [content type]" permissions only let people fill out the fields for a content type; it doesn't give them the ability to promote things to the front page, change the URL, change the author or post date, or anything else. You can even use field-level CCK permissions to allow them access to only certain fields within your content type.

Still sounds like 'auto page creation part' is exactly what a content type is designed to do. But I'd love further clarification as to exactly what you see as the difference, and maybe there's a different solution.

nobody_special’s picture

I figured out what you meant now. I've created all of my fields and set my permissions. I've even set up the modr8 to the content type I created. Now the one remaining question I have is this; Once the user fills in the forms and uploads their picture, all of the data is displayed in a block, without the image of course. I am trying to figure out how you stylesheet your custom content type. This might be easy to do, but I'm still a bit green behind the ears and couldn't find a css or a tpl.php anywhere that correlated to my content type or new content types. Any help is greatly appreciated.

Thanks,
Adam