Agaric wants a "Save and edit button" button for all content forms
Time for us to get Form Tweak up on Drupal.org!
There are enough use cases, these modifications to "Save" (and the surprisingly frequent request to remove preview) to put the module out for others to use (and post endless feature requests against, heh).
I would like to store the variables in files rather than the variable table, though.
Similar modules and efforts
http://drupal.org/project/formfilter
Includes a UI for selecting which fields to hide (passing the elements as values, if possible).
http://drupal.org/project/form_alter - also by nedjo but D5 and not updated since April 2008.
Written for module developers, form alter module simplifies the process of making alterations to forms by providing a hook that can be implemented to return all alterations to be made.
http://geeksandgod.com/tutorials/computers/cms/drupal/creating-simple-drupal-module
create a very simple Drupal 6 module that uses hook_form_alter to remove a few fields from the node edit form, but only for blog and page nodes
http://drupaldojo.com/minilesson/hook-form-alter-breakdown (a lesson on using hook_form_alter by Dimitri)
Comments
This has been done.
Coming to Drupal.org soon.
Post new comment