![]() ![]() Derive what you need from the fuller explanation. You may need only a subset of the apparent functionality, and that's okay. Here's what you'll need and what I'm using: Requirements to display Related Content by Taxonomy Terms:īasic stuff! Now, let's talk about the use case we're working against. Yet, every time, I see folks stumbling through this or apparently not able to find the way to do it. It's a frequent enough use case that I find myself repeating the steps for different projects, yet there's enough steps that I may need a refresher by Googling around a bit. Today, we're going to work through a bit simpler, more common method of deriving and displaying related content ( side note: if you're actually looking for one of those more complex routes, we do offer Drupal consulting!). You could even directly identify related content with a one-to-one relationship with an entity reference. Or, maybe you want to show related content by word frequency among two nodes. You could even use an external service that incorporates "relevance" through an algorithm by way of Apache Solr for example. There's many ways to attempt to identify Drupal related content. This might even help you when you're working through requirements on your other projects. However, I strongly suggest reviewing the use case and logic below, first. If you just want to the highly actionable parts (building the View and contextual filters), use the video walkthrough. ![]() ![]() I'm going to help you with Drupal related content using the Views module. Have you been getting frustrated searching D.O for an answer? Are you weeding through Stack Overflow or Drupal Exchange posts for this common use case? Are you trying to add a block of related content to a node page in Drupal? Do you want to display other nodes which share terms with the currently displayed node? ![]()
0 Comments
Leave a Reply. |