Parent Directory
|
Revision Log
|
Revision Graph
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 |