Skip to content

Add blocks for each menu to display previous/next or child links based on the current page

License

Notifications You must be signed in to change notification settings

backdrop-contrib/menu_pager

Repository files navigation

Menu Pager

Menu Pager adds blocks for each menu that display previous/next or child links, based on the current page.

For example, given the following menu hierarchy, if you're on the 'Installing software' page...

- Setting up your OS
  - Installing
  - Configuring
- Installing software
  - App store introduction
  - Installing an app
  - Finding good-quality apps
- Getting help & support

The 'Menu pager' block will show a 'previous' link pointing to 'Configuring', and a 'next' link pointing to 'App store introduction'.

The 'Menu pager (children)' block will show the following links:

- App store introduction
- Installing an app
- Finding good-quality apps

Installation

  • Install this module using the official Backdrop CMS instructions at https://backdropcms.org/guide/modules.

  • Add a Menu Pager block to a layout to display previous/next links, or a Menu Pager (Children) block to display child links (or both!).

  • If required, override the previous and next titles with custom labels.

Issues

Bugs and Feature requests should be reported in the Issue Queue: https://github.com/backdrop-contrib/menu_pager/issues.

Known Issues

  • There is currently no upgrade path from Drupal 7 as this would be very complex and the numbers of Drupal 7 installs are quite low - see issue #1

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.