/[drupal]/contributions/modules/formfilter/formfilter.install
ViewVC logotype

Contents of /contributions/modules/formfilter/formfilter.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Fri Jan 12 04:14:46 2007 UTC (2 years, 10 months ago) by nedjo
Branch: MAIN
CVS Tags: DRUPAL-5--1-0, HEAD
Branch point for: DRUPAL-5
File MIME type: text/x-php
Initial commit of a module for doing common form altering. Includes a UI for selecting which fields to hid (pass as values, if possible). Includes an optional filtering of node forms to promote two fields and then put fieldsets in an 'advanced options' fieldset, to declutter the form.
1 <?php
2 // $Id: $
3
4 /**
5 * Implementation of hook_install().
6 */
7 function formfilter_install() {
8 // Set a high weight so the module is called after other modules that
9 // modify forms.
10 db_query("UPDATE {system} SET weight = 20 WHERE name = 'formfilter'");
11 }

  ViewVC Help
Powered by ViewVC 1.1.2