DBLog Pager
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
NEW: Drupal 8.x version now available
DBLog Pager
The DBLog Pager module is quite simple. It adds paging options (Next, Previous) to the individual events view (/admin/reports/event/%ID%). Also adds First and Last links (if desired you can turn them off). Overrides the default display of a blank page if an event ID can't be found (configurable).
Drupal 7.x Only: also (as of version 1.1), modifies the breadcrumbs on event details pages to add the DBLog (configurable of course). This lets you go straight back to the log even if you've been using the paging functionality with one click rather than having to click back 50 times. Not included in Drupal 8 module as this change is in core.
* To submit bug reports and feature suggestions, or to track changes, see the issue queue.
REQUIREMENTS
This module requires the core module Database Logging. It is not enabled by default so you may have to enable it.
INSTALLATION
Install as you would normally install a contributed Drupal module. See the instructions for Drupal 7 or Drupal 8 as required in the Drupal documentation for further information.
CONFIGURATION
Configuration can be accessed at /admin/config/development/logging/dblog_pager. Drupal 8.x: at /admin/config/development/logging instead
There are three or four configuration options depending on what Drupal version you are using:
- Show First/Last Links: Checkbox to enable/disable visibility of the last/first event links. [Default: TRUE]
- Drupal 7.x Only Add DBLog to Breadcrumbs: Checkbox to enable/disable modifying the breadcrumbs on event details page to add the DBLog. [Default: TRUE]
- Override Bad ID Processing: Checkbox to enable/disable overriding dblog's default of displaying a blank page if the log entry can't be found. If active, will display a warning. [Default: TRUE]
- Redirect To Last Log Record: If Override Bad ID Processing and this is active then DBlog will display a warning and redirect to the most recent log record (that matches whatever filtering you may have active) instead of just a warning over a blank page. [Default:TRUE].
TROUBLESHOOTING
If the paging functionality doesn't appear, try the following:
- Clear your cache.
- If it is just the Last/First links not showing make sure they are
configured to appear. - Try uninstalling and reinstalling the module.
- Drupal 7.x OnlyConfirm that you aren't overriding the template in a theme. The template is dblog-event.tpl.php.
FAQ
Any questions? Ask away on the issue queue or email: design@briarmoon.ca.
This project has been sponsored by:
BriarMoon Design
Full service web development and design studio. Specializing in responsive, secure, optimized Drupal sites. BriarMoon Design can help you with all your Drupal needs including installation, module creation or debugging, themeing, customization, and hosting.
