Create related content block view based on terms in Drupal 7

Posted on Monday, December 9, 2013

 

Mostly in blogging site we need to create block view with related content list based on taxonomy terms associated to current node. It sounds complex but there are few simple step which we can take to create this block. Instead example of related content block you can see is on the right side of this blog page titled "Related Content", if its not showing that means there is no content matching with term of this blog node. These are step for creating related content block view:

  • Create block type view.
  • In format options select "HTML list" to show content as list.
  • Now select field you want to show in the list, best option is to select only title field.
  • In Contextual Filters option add filters “Content: Has taxonomy term ID (with depth)” and “Content: Has taxonomy term ID depth modifier”.
  • Configuration on this filter: WHEN THE FILTER VALUE IS NOT AVAILABLE - Provide default value - Type: Taxonomy Term ID from URL - under that, check the box "Load default filter from node page, that's good for related taxonomy blocks." - now under vocabularies check the boxes of the taxonomies you want involved here.
  • Now you need to add the second filter in order to exclude the current node from the list by adding "Content: Nid" contextual filter.
  • Set the ‘WHEN THE FILTER VALUE IS NOT AVAILABLE’ to ‘Provide default value’.
  • Set the default argument type to ‘Content ID from URL’.
  • Go to “MORE” at botton , and check the “Exclude” box to make sure this node is not shown in the list.
  • Move “Content: Nid” filter to the top position.
  • Save the view and add this block from block list to a particular region.

Comments

edwradcross (not verified)

Monday, May 15, 2017

Awesome article. I’m most definitely interest in this one. I am in reality happy with article quality and direction. This post is spot on in informative how some ideology applies to any script location. Thanks a lot for preservation huge stuff. I am extremely a good deal grateful used intended for this place. Thanks a lot for protection massive things. Visit here: https://www.speedycustomessaywriting.org/

hellenjos (not verified)

Thursday, July 13, 2017

One of the most difficult tasks in creating the block view with the related content list. Here are some simple steps for creating this. We can refer to this site for creating the block view and is easy. Thank you for sharing the details. rijksmuseum tour

web designer here; would you say you look thru somones blog more thuroly than just googling for an answer, reading it, then leaving? i ask becuase to me it sounds like a critisisum of an entire site, or other sites that dont interest you. and from a designer point of view it dawned on me that you might google for a answer and when you find it--you continue to browse the rest of the site becuse its blogish. dont think i forumulated that right but i hope you get it.

fatihin nurul (not verified)

Tuesday, August 22, 2017

ang tidak memiliki hubungan bisnis atau sebaliknya Agen Atap Spandek
Agen Atap Spandek
Distributor baja ringan
Agen Bondek Cor
Distributor Plat besi plat kapal
undangan pernikahan aneh
Jual Jual Besi Siku Baja
Harga Besi Wf Baja
Agen sch 40
Jual besi beton jcac
Pabrik Atap Spandek
Pabrik Atap Spandek
Distributor bondek
Pabrik Bondek Cor
Distributor besi h beam baja
undangan pernikahan mewah
Jual Besi Unp Baja Profil Kanal
Pabrik Besi Wf Baja
Pabrik sch 40
Jual besi beton interworld steel is
Distributor Bondek Cor
Distributor Bondek Cor
Distributor Plat kapal besi baja bki krakatau steel
Distributor Welded Beam
Distributor besi cnp
undangan pernikahan cute
Jual Besi Cnp Profil Baja Gording
Distributor Plat Besi Baja
Distributor besi Pipa sch 80 baja
Jual besi beton gunung garuda
Harga Bondek Cor
Harga Bondek Cor
Distributor besi siku
Harga Welded Beam
www.gudangbesibaja.com
undangan pernikahan online
Jual Besi Hollow
Supplier Plat Besi Baja
Harga besi Pipa sch 80 baja
Jual besi beton delcoprima
Jual Bondek Cor
Jual Bondek Cor
Distributor pipa besi baja sch 40 sch 80
Jual Welded Beam
Jual besi Wf Baja
undangan pernikahan buatan sendiri
Jual Wiremesh
Agen Plat Besi Baja
Jual besi Pipa sch 80 baja
Jual besi beton cakra steel cs
Supplier Bondek Cor
Supplier Bondek Cor
Distributor Plat besi
Supplier Welded Beam
Jual bondek
undangan pernikahan artis
Jual Besi Pipa Baja Schedule 80
Toko Plat Besi Baja
Supplier besi Pipa sch 80 baja
Jual besi beton bjku
Toko Bondek Cor
Toko Bondek Cor
Distributor besi h beam
Toko Welded Beam
Jual wiremesh
undangan pernikahan anti mainstream
Jual Besi Pipa Baja Schedule 40
Jual Plat Besi Baja
Toko besi Pipa sch 80 baja
Jual besi beton Sni Ulir Polos
Agen Bondek Cor
Agen Bondek Cor
Distributor besi wf
Agen Welded Beam
Jual pipa besi baja sch 40 sch 80
undangan pernikahan amplop
Jual Pipa Besi Hitam Medium
Harga Plat Besi Baja
Agen besi Pipa sch 80 baja
Jual besi beton ais
Pabrik Bondek Cor
Pabrik Bondek Cor
Distributor wiremesh
Pabrik Welded Beam
Jual besi hollow
undangan pernikahan mewah
Jual Besi Wf
Pabrik Plat Besi Baja
Pabrik besi Pipa sch 80 baja
Jual besi beton
Distributor Welded Beam
Distributor Welded Beam
Distributor besi unp
Distributor Besi Beton
Jual besi beton Sni Ulir Polos
undangan pernikahan anime
Jual Besi H beam
Distributor Besi H beam Baja
Distributor Plat Bordes
jasa konstruksi baja
Harga Welded Beam
Harga Welded Beam
Distributor besi cnp
Harga Besi Beton
Jual besi wf baja
undangan pernikahan elegan
Jual Besi Beton
Supplier Besi H beam Baja
Harga Plat Bordes
www.pusatbesibaja.co.id
Jual Welded Beam
Jual Welded Beam
Distributor besi hollow
Jual Besi Beton
Jual besi unp
undangan pernikahan contoh
www.sentrabesibaja.com
Agen Besi H beam Baja
Jual Plat Bordes
www.pusatbesibaja.com
Supplier Welded Beam
Supplier Welded Beam
Distributor besi beton Sni Ulir Polos
Supplier Besi Beton
Jual besi siku
undangan pernikahan yang unik
Harga Welded Beam T beam King Queen Cross Castellated Beam
Toko Besi H beam Baja
Supplier Plat Bordes
www.jualbesibajamurah.com
Toko Welded Beam
Toko Welded Beam
ironsteelcenter.com
Toko Besi Beton
Jual Plat besi plat kapal
undangan pernikahan amplop
Harga Bondek Cor
Jual Besi H beam Baja
Toko Plat Bordes
harga besi beton Sni Ulir Polos polos ulir
Agen Welded Beam
Agen Welded Beam
Jual stainless steel
Agen Besi Beton
Jual besi h beam baja
undangan pernikahan unik dan murah
Harga Atap Spandek Sni
Harga Besi H beam Baja
Agen Plat Bordes
harga besi beton sii
Jual Jaket Parka Jual Jaket Parka
Jaket Parka Jaket Parka
undangan pernikahan kalender
undangan pernikahan bahasa inggris islam
undangan pernikahan islami
undangan pernikahan unik dan murah
undangan pernikahan modern
undangan pernikahan online
undangan pernikahan
undangan pernikahan amplop surat
undangan pernikahan simple
undangan pernikahan murah
undangan pernikahan unik
undangan pernikahan artis
undangan pernikahan modern
undangan pernikahan artis
undangan pernikahan arab
undangan pernikahan
undangan pernikahan
LINK 4

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.