Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:webworking:cms:drupal:drupal8:snippets:use_different_views_for_various_vocabularies [13.04.2016 16:31]
cbeier created
en:webworking:cms:drupal:drupal8:snippets:use_different_views_for_various_vocabularies [02.10.2017 22:43] (current)
Line 1: Line 1:
-# Use different Views / Views Displays for various Vocabularies/Terms+# Use different Views / Views Displays for some Vocabularies/Terms in Drupal 8
  
 In Drupal 8 the taxonomy term pages are views. By default the View "taxonomy_term" is used if a taxonomy term is requested (`/taxonomy/term/TID`). This view can be adjusted to fit your needs. But sometimes you like to change the output / view only one some terms or for all terms in some vocabulary. In Drupal 8 the taxonomy term pages are views. By default the View "taxonomy_term" is used if a taxonomy term is requested (`/taxonomy/term/TID`). This view can be adjusted to fit your needs. But sometimes you like to change the output / view only one some terms or for all terms in some vocabulary.
Line 10: Line 10:
  
 The altering of routes in D8 are described here: https://www.drupal.org/node/2187643 The altering of routes in D8 are described here: https://www.drupal.org/node/2187643
 +
 +<WRAP center round important 100%>
 +Of course you must change the `my_module` inside the snippets to the name of your module.
 +</WRAP>
  
 <code php> <code php>
Line 127: Line 131:
 </code> </code>
  
 +{{tag>drupal8 snippets}}