Creating user form to submit data - CCK?

field4000 - June 30, 2009 - 06:38

Hey all,

I would like to create a user form that allows the user to submit information to the database.

I am able to create a form using CCK. However, I would rather not give users access to the admin section.

My question: is there a way to use the CCK form without granting access to the admin? Further, is there a way to display the form without the admin controls (that is, Input format, Menu settings, etc).

Any help with this would be much appreciated.

Cheers in advance.

=-=

VeryMisunderstood - June 30, 2009 - 06:41

users don't need acces to the admin to fill out a form created with CCK.
Could you better explain why you think that?

you may also want to look at the webform.module

Hey VeryMisunderstood, Thanks

field4000 - June 30, 2009 - 06:56

Hey VeryMisunderstood,

Thanks for getting back to me.

The reason I write that is because of the URL: http://www.domain.com/node/add/form

I would like the URL to be: http://www.domain.com/formName

Moreover, the CCK form has all the other admin data on the page. EG: input format, menu settings, etc.

Cheers.

First of all, have you

aschiwi - June 30, 2009 - 07:13

First of all, have you considered Webform?

If you are still considering CCK: in Drupal you don't have to grant a user access to the administration section. You could just allow them to create nodes of a certain content type, then they wouldn't be able to do anything else. Formfilter lets you hide stuff users don't need to see. To hide input formatting tips there are different ways to do this. Check out the Better Formats module or simply hide it with CSS. Also check out this thread for some more discussion on the topic: http://drupal.org/node/215653.

Thanks for your reply. I've

field4000 - June 30, 2009 - 07:45

Thanks for your reply.

I've been playing with webforms. It is really very good. However, it doesn't do exactly what I need it to do.

I would like to publish the results after the admin has moderated the submission (for profanity, etc.). That is, I'd like to be able to set the submissions as 'un-published' until someone has checked them. Hence my wanting to use CCK.

I'll give the CCK and CSS option a bash.

Cheers.

 
 

Drupal is a registered trademark of Dries Buytaert.