The Util module is a grouping of commonly-needed utilities that are simple to code, everyone wants, but nobody actually codes them.

Right now, we have the following features:

6.x 7.x
System Modules
This utility automatically collapses fieldsets on the admin/build/modules page. This speeds up the enabling or disabling of modules, since only the set of modules you're interested in can be expanded for editing. Why wade through all your modules every single time you go to this page? Collapse them! The settings page has a directory linking modules to packages.

There is also a counter for each fieldset that numbers every module in that group and reports on how many are enabled. Example: Core - optional [9] of [23]
Permissions Fieldset Manager
Similar to the System Modules above, except this encloses the permissions (admin/user/permissions) for each module in a fieldset. Those may either be all collapsed/expanded, or individually.
Module Weight
This utility allows you to change module weights without having to make the change directly in the database. Very helpful for development or modules that require running in specific order.
Also see "How to update a module's weight"
Admin Page Fieldsets
Similar to the three modules above (but combined). Note that if you use the Admin_menu module, you can use that instead of Util. You might want to look at Admin_Menu instead.
Log_Clear
Looking at your logs and wishing you could get rid of just "this kind of message?" Too lazy to fire up PHPMyAdmin to do it (isn't that what Util is for). In searching DO, it seems there are lots of others who would like this. See "DbLog Enhancements."
DbLog Enhancements
Implementing #582622: provide hook for dblog_filters now rather than waiting for a version of core to include it. So here is a function that adds a "Clear" button in the "Filter log" field set on the "Recent log" page. Note: This does not show up on the Util page at all.
Logged_in_as
Ever code up a little block to show user id and maybe roles? Well, here it is. Note: This does not show up on the Util page at all; enable the block to see it.
Comment box
Allows you to set the size of the comment box by content type.
Top Buttons
Places copies of the node submission buttons ("Save," "Delete," etc.) buttons above the body field. Note: This does not show up on the Util page at all. The setting is in the content type form; all content types are enabled by default. The 7.x version also allows you to remove the delete button from the node edit page. You might also want to look at Content Type Extras
Show site error reporting
This is the only function in the base module. It adds a menu item to the "admin>>reports" menu to display the current site error reporting level.
Edit Link
Adds an "edit this post" link to each node in a teaser list. There is a setting on the "base" tab to show the content type as an option.
Related Blog
Adds a block to show blog entries from the author of the currently displayed node.
Node_Add_Order
This little module allows you to change the order of content types on the "Create content" (node/add) menu. You may choose alphabetical, by node count, or last used.
Type Defaults
This is a feature that sets all publishing and comment options for all content types. It also has the ability to exclude certain types. Unfortunately RealLife™ got in the way of development, and this module is not yet functional. DOES NOT WORK YET - INSTALL ONLY IF YOU WANT TO WORK ON A PATCH
No Index
This feature adds a meta tag to each page to prevent it from being indexed by search engine robots. Adding a robots header isn't necessarily a sure thing. It's not supported by all search engines and will not guarantee your site will be excluded. Read this post.
Module Quick List
This produces a quick module list. One use is to submit the list with bug reports.
Admin Pages
Lists pages (paths) to be displayed modally (overlay).
Block tracker
People often wonder whether all the blocks on a site are actually being used. This little add-on puts a "last used" date on blocks and updates that field whenever a block is actually created (using hook_block_preprocess_block). Note, this module does modify the core block schema, so if you have major heartburn over that, don't use it. You can find the report on blocks in the Reports menu.
Log Cleanup
This allows you to set up cron to remove certain types of messages from the system log (watchdog) on a schedule.
Welcome Page
Ever need a site where anyone can see the front page, but nothing else? Drupal's permissions aren't much help with that problem. This little module allows you to create a small from page that you set up to tell people they have to log in.

 

Please add feature requests for anything you want.

Issues

As with all contributed modules, when considering submitting an issue review the existing issues list. (Don't forget to select "<all>" for the "Status" field.)

  • Gather all the appropriate information. This may include (but is not limited to):
    • Drupal version.
    • Browser type and version.
    • Database type and version.
    • Error messages, if any.
    • Module settings.
  • Submit the issue. If other modules or themes are involved, you may need to submit the issue to those modules as well.
  • Update.php

    As with all modules, please make sure you run update.php after updating this module, even if no updates are identified.

    Development version status

    The development versions (-dev) are where the newest stuff is, including any bug fixes and new features. We try to make sure it is tested before we commit anything, but occasionally a bug will get by us. Your help on testing this code is greatly appreciated.

    Current Features being tested in Development
    Update.php required: No

    Project Information

    Downloads