Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module provides a way to find similar nodes by taxonomy using views.
Features:
- Weighting by vocabulary - Say you have two vocabularies on a movie site "Genre" and "Community Tags", the latter being a free tagging taxonomy. With this module, you can give Genre a weight of 10 and Community tags a weight of 1. Which means that if I'm looking at "Meet the Parents", I'm most likely to see a list of similar Romantic Comedies like "Sleepless in Seattle" and "French Kiss" with something like "Taxi" or "The Godfather II" coming lower in the list, because someone tagged both "Robert De niro"
- Sorting - Sorts by weight... pretty simple
- Filtering - I want to see only those with a weight higher than 15... this is a little arbitrary, and you are better off using the pager / limiting results,
but it does work- Actually, doesn't. I tried to hack around views not letting me mess with the count query, but just couldn't get a HAVING in there... Oh well.
Usage:
- Install the module (duh)
- Go to admin/settings/similarnodes
- Set the weight for each taxonomy
- Now create a view, add the argument "SimilarNodes: Source Node Id" - You need this to make it work
- Add the field SimilarNodes: Weight
- give it a shot! go to yourview/{NID} for a list of related nodes
This module was partially funded by CivicActions and the Witness Video Hub
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Module categories: Content Editing Experience, Content Display
- 1 site reports using this module
- Created by JacobSingh on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.