So here is what I'd like to achieve:

I'd like to put a Next link to every content of a type, that links to the next content with the same taxonomy term.

So for examle if I have A, B and C products with the term 'clothing' on them, I need a link A product that points to B, one link on B that points to C and so on.

How is this possible to do?

2 Answers 2


It's only in Alpha but the Treewalk Previous / Next module appears to have that functionality:

Previous/Next (Back/Forward) links for entity and other pages, that allow to visit them in a sequence.

Unlike with the existing back/forward module, the sequence of items (entities etc) is not based on a view, but on hierarchical information already present in your site.

  • It provides a configurable block with prev/next links based on menu trees. The block is named "Treewalk Prev/Next (Menu)"
  • It provides Display suite fields with prev/next links based on entityreference / taxonomy_term_reference fields. The ds fields are named as "Treewalk Prev/Next (...)".

I've never used it but it might at least be a starting point to implement the logic yourself.


You can use the Flippy module for this.

Flippy is an ultra-simple module that generates previous/next pagers for content types. On the Node type administration screen, you can turn Flippy on or off for each content type. It'll generate a unique pager for each content type, so you can page through Articles or page through Blog posts, but you can't page through all nodes on the site.

  • 2
    Does that module work based on a vocabulary (per the question)?
    – Clive
    Commented May 9, 2013 at 10:28
  • @Clive: I am not sure but we can alter its query in our custom module.. :) Commented May 9, 2013 at 11:21
  • Flippy doesn't seem to be providing sorting content based on taxonomy terms. Commented May 9, 2013 at 11:21
  • @BálintDeáki: open this module and alter its query using hook_query_alter in your custom module Commented May 9, 2013 at 11:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.