Hi,
I'm relatively new to Drupal and wondering what the best way to create a form on my website that would allow users to add or modify content. A basic example would be to allow users to add, and then be able to edit, their own business listing to a directory through a form on the website (not through the drupal interface).

Thanks

Comments

ayesh’s picture

What's the difference in Drupal Interface and Web site ?
You can always embed forms in a block using http://drupal.org/project/formblock (there's a DEV version)

juankvillegas’s picture

Just check the permissions and allow your users to add/edit the content type you want.

differentspin’s picture

Thanks, but I don't want them to have to use the drupal interface to add/edit, I want to be able to create my own form.

juankvillegas’s picture

May I ask why Drupal interface is not an option?

Maybe solve the those issues is easier than creating a whole new form.

differentspin’s picture

Good point...perhaps the drupal interface is an option if I can:
a) change the look
b) hide the options at the bottom for non-admin users (Menu settings, Revision Information, Publishing Options, etc)

eporama’s picture

You can change the theming of the form using the form api (FAPI in Drupal terms) and theme functions, but you'd need to give more specifics about what it is you'd like to change.

The options at the bottom will only show up for admin users anyway, so you're all set there. Just giving "edit xyz content" permissions doesn't show those.

juankvillegas’s picture

Just giving "edit xyz content" permissions doesn't show those.

Exactly, for example the Menu option is shown only for the roles with "administer menus" permission activated... and so on.

So you just have to change the look, and it is much easier than creating a new form and all the programming it has.

mcfilms’s picture

You may also find this module helpful for getting rid of some of the pesky vertical tabs associated with node creation: http://drupal.org/project/simplify

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com