Problem/Motivation
I have extended my media:audio with a term reference field, and were able to tag my media correctly. However, when I browse to my my terms page, e.g. http://www.example.com/taxonomy/term/1, I get "There is currently no content classified with this term."
I was expecting to see the media (mp3's) connected to that term?
Proposed resolution
There are 2 different solutions:
- create a custom view for the taxonomy/term/% pages;
#1016942: Allow taxonomy/term pages to list multiple entity types
- change core to show not only 'node' entities;
#1137558: Show multiple entity types on Core taxonomy/term pages, not just 'node'
Related Issues
See above, and also:
#1040786: Include entities in taxonomy_index
Comments
Comment #1
lsolesen commentedSeems that it will not work in the current implementation, as taxonomy_term_page() expects nodes: http://api.drupal.org/api/drupal/modules--taxonomy--taxonomy.pages.inc/f...
Comment #2
JacobSingh commentedThis is an unfortuante hold over from previous node-centric versions of Drupal. You'll either need to wait for views support or write your own handler to show a list of media items by tag.
Comment #3
steinmb commentedLet us try and move this then. This code from http://api.drupal.org/api/drupal/modules!taxonomy!taxonomy.pages.inc/fun... stops us from viewing files by taxonomy terms even they are first class drupal entities when expanded by http://drupal.org/project/file_entity.
The same goes if you tagg any other entities with term ref.
Comment #4
johnvThe following issues have the same problem, but they propose different solutions. Hence, a more explicit title:
- other issue: #1016942: Allow taxonomy/term pages to list multiple entity types
- this issue: #1137558: Show multiple entity types on Core taxonomy/term pages, not just 'node'
Comment #5
johnvEven worse: function taxonomy_select_nodes() reads table taxonomy_index, which only contains references to tids of nodes, not other entities.
Comment #6
johnvThis is the issue to add 'entities' to taxonomy_index:
#1040786: Include entities in taxonomy_index
Comment #6.0
johnvadded template headers,
added reference to other issue.
Comment #7
swentel commented#1016942: Allow taxonomy/term pages to list multiple entity types
Comment #7.0
swentel commentedadded other issue to the list.