Index: README.txt =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/journal/README.txt,v retrieving revision 1.5.2.1 diff -u -p -r1.5.2.1 README.txt --- README.txt 19 Apr 2008 16:42:27 -0000 1.5.2.1 +++ README.txt 16 Aug 2008 20:12:22 -0000 @@ -42,6 +42,40 @@ Bug reports, feature suggestions and lat Administer -> Reports -> Journal entries +-- CUSTOMIZATION -- + +* Until Form controller integration (http://drupal.org/node/228244) or a similar + solution is implemented, you can override the variable 'journal_form_ids' in + your site's settings.php to hide or require the journal entry field on + specified forms. To do this, you need to identify the $form_id of the target + form and add it along with the default values defined in the function + journal_form_ids_default() of this module to your settings.php. For example: + +$conf = array( + ... + 'journal_form_ids' => array( + 'devel_admin_settings' => 0, + 'devel_execute_form' => 0, + 'devel_switch_user_form' => 0, + 'search_block_form' => 0, + 'search_theme_form' => 0, + ... + // Examples of custom form ids starting from here: + 'fivestar_custom_widget' => 0, + 'guestbook_form_entry_form' => 0, + 'imagefield_js' => 0, + 'img_assist_header_form' => 0, + 'img_assist_properties_form' => 0, + 'link_widget_js' => 0, + ), + ... +); + + A value of 0 means that Journal will not show up in the given form; a value of + 1 indicates that a journal entry is required. Please note that above example + does not contain all default values. + + -- CONTACT -- Current maintainers: Index: journal.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/journal/journal.module,v retrieving revision 1.5.2.10 diff -u -p -r1.5.2.10 journal.module --- journal.module 15 Aug 2008 19:34:05 -0000 1.5.2.10 +++ journal.module 16 Aug 2008 20:11:15 -0000 @@ -143,8 +144,22 @@ function journal_form_ids_default() { 'devel_switch_user_form' => 0, 'search_block_form' => 0, 'search_theme_form' => 0, + 'search_box' => 0, 'user_filter_form' => 0, 'user_login_block' => 0, + 'views_ui_list_views_form' => 0, + 'views_ui_analyze_view_button' => 0, + 'views_ui_edit_details_form' => 0, + 'views_ui_add_display_form' => 0, + 'views_ui_edit_display_form' => 0, + 'views_ui_remove_display_form' => 0, + 'views_ui_config_item_form' => 0, + 'views_ui_config_type_form' => 0, + 'views_ui_add_item_form' => 0, + 'views_ui_rearrange_form' => 0, + 'views_ui_preview_form' => 0, + 'views_ui_export_page' => 0, + 'views_exposed_form' => 0, ); }