Module Description
For every node of selected content type module add "previous" and "next" buttons to previous or next node. Module provide custom pager for content type. Pager will apply to end of node render array.

There is possibility to use pager for navigating between nodes of same author.

There is a possibility to show titles of the closest nodes before and after a current node (quantity of nodes shown can be adjusted). Example: let us suppose there are 5 nodes: node 1, node 2, node 3, node4, node 5; a) current node is 3: below the pager there will be following links: node 1, node 2, node 4, node 5

b) current node is 2: below the pager there will be following links: node 1, node 3, node 4, node 5

c) current node is 5: below the pager there will be following links: node 1, node 2, node 3, node 4

There is hook which makes it possible to control sampling of previous and next node. As well as a hook to control sampling of nodes closest to the current one.

Requirements Drupal 8.x or 9x

Installation 1. Copy the entire pager_for_content_type directory the Drupal sites/all/modules directory.

2. Login as an administrator. Enable the module in the "Administer" -> "Modules"

3. (Optional) Edit the settings under "Administer" -> "Configuration" -> "Pager settings" -> "Pager for content type settings"

Credits This project has been sponsored by: Volcanoideas Drupal consulting and development.

Project Usage
413
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of providing 'previous' and 'next' buttons for nodes of a selected content type, as well as custom pager navigation and displaying titles of the closest nodes before and after the current node.
Data Name
pager_for_content_type

OPENAI CHATBOT

OPENAI CHATBOT

00:09:34
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.