Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi there,
I don't know if there's some kind of this module yet which I imagine:
I have a plant-related drupal in progress and wished to have this feature:
Users should be able to create a new type of content, i.e. called 'plant file'.
There they should have several fields (to edit them and add new ones in the admin panel would be useful): name, origin, water, etc. and every user should be able to add a picture of this plant (is it dangerous to save masses of pics in the 'files'-folder?). Automatic node aliases like http://example.org/drupalpath/plant/latin_name appreciated. In the end, no plant should there be twice and single fields not filled in yet should offer the opportunity to add sth. afterwards (those which are already filled not, only the admin should edit these), but multiple line fields like in a wiki should be editable for users all the time. Also users should have a possibility to check a plant, then it should be displayed in the profile as "my plants" and in a favourite-plant-checkbox they can check what's shown in the profile under favourite plants. And then (I'm megalomaniac) in the profile should be displayed how much plants a user has added, how much fields of whatsoever he/she has edited or added and how much / which pics he/she has contributed.
Maybe there's a nice module yet or the right combination makes it possible.
I've noticed that for some reason IE submits forms on my drupal site twice. It's horrible because some nodes created with this browser are automatically created twice! User registration form is submitted twice and drupal tries to create two accounts for one form submit!
Any ideas how to prevent this? can this be my theme's issue that automatically replaces submit buttons with images?
for form submission i use combination of html and javascript - this is because funny drupal behavior that checks the value of submit button :/
so my submit button-images look like this:
I tried to install vote_up_down (a digg-clone module). I uploaded all files to /modules/vote_up_down/. But when I tried to activate the module I couldn't find the module anywhere in the module-settings-list.
I've seen the explanation to do this here : http://drupal.org/node/37862
But some things I still don't understand. First, what is the #process attribute for ? is it for building the output of the form element ?
And how to define the kind of data the custom form element does return (for validation and submission) ?
And my last question is, how to make a new form element defined in one module reusable by another modules ?
Hi All,
I am developing a module. I added form fields in xxx_form.While displaying the form it displays Preview and Submit buttons that I do not want. Is there any way to remove it