User login

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)

Resolution

Searched words: 
drupal module for tweaking forms

Comments

This has been done.

Coming to Drupal.org soon.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.