By differentspin on
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
^
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)
What's new and changing in PHP 8.4
Just check the permissions
Just check the permissions and allow your users to add/edit the content type you want.
Juan Villegas
micoworker
Diseño y Desarrollo Web
Thanks, but I don't want them
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.
May I ask why Drupal
May I ask why Drupal interface is not an option?
Maybe solve the those issues is easier than creating a whole new form.
Juan Villegas
micoworker
Diseño y Desarrollo Web
Good point...perhaps the
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)
The options are permission based
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.
Just giving "edit xyz
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.
Juan Villegas
micoworker
Diseño y Desarrollo Web
Simplify
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