? advuserprofile.patch Index: profiles/default/default.profile =================================================================== RCS file: /cvs/drupal/drupal/profiles/default/default.profile,v retrieving revision 1.23 diff -u -p -r1.23 default.profile --- profiles/default/default.profile 10 Mar 2008 18:15:14 -0000 1.23 +++ profiles/default/default.profile 23 May 2008 09:57:49 -0000 @@ -8,7 +8,7 @@ * An array of modules to enable. */ function default_profile_modules() { - return array('color', 'comment', 'help', 'menu', 'taxonomy', 'dblog'); + return array(); } /** @@ -22,7 +22,7 @@ function default_profile_modules() { function default_profile_details() { return array( 'name' => 'Drupal', - 'description' => 'Select this profile to enable some basic Drupal functionality and the default theme.' + 'description' => 'Select this profile to install with only minimum functionality enabled.' ); } @@ -94,47 +94,7 @@ function default_profile_tasks(&$task, $ // Insert default user-defined node types into the database. For a complete // list of available node type attributes, refer to the node type API // documentation at: http://api.drupal.org/api/HEAD/function/hook_node_info. - $types = array( - array( - 'type' => 'page', - 'name' => st('Page'), - 'module' => 'node', - 'description' => st("A page, similar in form to an article, is a simple method for creating and displaying information that rarely changes, such as an \"About us\" section of a website. By default, a page entry does not allow visitor comments and is not featured on the site's initial home page."), - 'custom' => TRUE, - 'modified' => TRUE, - 'locked' => FALSE, - 'help' => '', - 'min_word_count' => '', - ), - array( - 'type' => 'article', - 'name' => st('Article'), - 'module' => 'node', - 'description' => st("An article, similar in form to a page, is ideal for creating and displaying content that informs or engages website visitors. Press releases, site announcements, and informal blog-like entries may all be created with an article entry. By default, an article entry is automatically featured on the site's initial home page, and provides the ability to post comments."), - 'custom' => TRUE, - 'modified' => TRUE, - 'locked' => FALSE, - 'help' => '', - 'min_word_count' => '', - ), - ); - - foreach ($types as $type) { - $type = (object) _node_type_set_defaults($type); - node_type_save($type); - } - - // Default page to not be promoted and have comments disabled. - variable_set('node_options_page', array('status')); - variable_set('comment_page', COMMENT_NODE_DISABLED); - - // Don't display date and author information for page nodes by default. - $theme_settings = variable_get('theme_settings', array()); - $theme_settings['toggle_node_info_page'] = FALSE; - variable_set('theme_settings', $theme_settings); - - // Update the menu router information. - menu_rebuild(); + $types = array() } /**