Closed (fixed)
Project:
Taxonomy Lineage
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Nov 2006 at 17:10 UTC
Updated:
5 Dec 2006 at 18:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
danielnolde commentedJust realized (by code-review :):
This feature request - http://drupal.org/node/93249 - belongs to the "Taxonomy Lineage" module rather than the views bonus pack...
Comment #2
danielnolde commentedAfter a few hours with the views API (my first time <:) and lineage module, i managed to get my requested feature for the lineage module's views support - Sortabe Field instead of "sort criteria" - into the attached patch (my first time patch, too :), which works nice with my 4.7 install and now needs review by fellow drupal coders/users.
After installing the patch (paths relative to drupal-root!), you should be able to add a field "Lineage: Taxonomy Hierarchy" to a view with the following features:
- terms get outputted (oookay ... ;)
- hierarchically indented (hm.. )
- the view is now sortable by th taxonomy's hierarchy :))
- you can hover over each term and get the term's full hierarchical path in a nicely redable way
Any more useful features this patch could integrate?
Oh ... and please review this patch and then (@module maintainer) please commit it, it's really useful :)
cheers,
daniel
Comment #3
danielnolde commentedThe above path adds a "Lineage: Taxonomy Hierarchy" field to views, which makes the view sortable asc/desc by taxonomy hierarchy and displays the former, showing the terms hierarchically indented and the term's full hierarchy-path on rollover. Any more ideas to be included into this patch?
Comment #4
Leeteq commentedHmmm. Could this be used to generate a list of only the terms in a vocabulary, not the nodes, but only the terms listed alphabetically - with links to their respective taxonomy page? (and indented to show the hierarchy of the terms, at least the first two levels).
If I am not mistaken, the views alternative is concerned with posts/content tagged with the terms, but often it is simply a list of the terms in a vocabulary that is needed. There are a lot of posts about this strangely missing feature in Drupal core.
PS. Please give me a hint of how if this is already possible with this module.
Comment #5
danielnolde commentedHi DanielTheViking,
if i'm not mistaken, a taxonomy-driven listing of terms without nodes assigned to those terms is not possible with the views module in general, since the views-module is basically node-oriented and thus can only display lists based on node-table-selects.
cheers,
Daniel
Comment #6
merlinofchaos commentedCommitted for version 1.1
Comment #7
merlinofchaos commentedComment #8
(not verified) commented