Skip to content
Snippets Groups Projects
README 1.06 KiB
Newer Older
Daniele Piaggesi's avatar
Daniele Piaggesi committed

SUMMARY
========
PrevNext (Previous/Next) is a simple module that provides, for any node type you want, 
Daniele Piaggesi's avatar
Daniele Piaggesi committed
two links to the previous and to the next node, published, of the same type and the same language.
Daniele Piaggesi's avatar
Daniele Piaggesi committed

You can choose for what type of node you want to enable these links through a simple
configuration panel. Once you enabled the content types you want, in the
"Manage Display" of that types you'll find two new "extra fields":
one for previous and one for next link.

Daniele Piaggesi's avatar
Daniele Piaggesi committed
Moreover, for Previous/Next links, you'll find a unique twig template through which you can
Daniele Piaggesi's avatar
Daniele Piaggesi committed
customize the html structure, add classes and something like this.


HOW TO USE IT
==============
- Enable prevnext module
- Enable/disable links on content types from "admin/config/user-interface/prevnext"
- Go to the "Manage Display" of the nodes you enabled
- Enjoy!

BROUGHT TO YOU BY
==================
This module is created and maintained by bmeme (http://www.bmeme.com), the italian Drupal Factory.
Daniele Piaggesi's avatar
Daniele Piaggesi committed
Special thanks to Marcos Cano Miranda (https://www.drupal.org/u/marcoscano), for the real big work done in D8 porting.