Been looking all over for this and haven't found any solution.
I'd like to list in one page all terms in one vocabulary (not all nodes in a term or all nodes in terms in a vocabulary). Sort of like a homepage or entry or index to that vocabulary (without listing the other vocabularies or terms in the taxonomy).
I believe others would find this usual, to be able to have a page that lists the many terms in a particular vocabulary.
Here's an example, at http://www.edestiny.net I have 2 vocabularies: one for spanish content, another for english content. I'd like to add a link that says "English" and list all terms (not the nodes) in the English vocabulary (ICT for Human Development).
You can see these 2 vocabularies listed there as blocks in the right column. I just want to be able to put one of these blocks in a page, not on a side bar.
This is not a multilingual feature request for I have the very same need in other sites (see Tabla de Contenidos -means Table of Contents- on the left side of http://www.eaprender.org ), where you'd rather not mix research terms (categories) with administrative terms (categories) and decide to put them in separate vocabularies.
I'm using vocabulary_list, taxonomy_dhtml, taxonomy_html, taxonomy_browser, site_map and sitemenu modules and they are all great (see them working at http://www.edestiny.net/sitemaps ) but no good for this:
- taxonomy_dhtml, taxonomy_html, site_map and sitemenu build nice maps of all vocabularies and terms, but you can't single out an specific vocabulary to be listed as a parameter (you can configure it though to do so, but then you will only list that vocab and will have no choice of listing any other).
- taxonomy_menu and taxonomy_block will build blocks just the way I want, but I'm not looking for blocks... I'm looking to list the terms in a single vocabulary in a full page.
- vocabulary_list comes close, but list the nodes in the specified vocabulary, not the terms...
Anything done regarding this or should I just program my way into a solution?
It seems like a simple thing to do, so I'm wondering if it's out there as a feature of the core or any module and I'm just not seeing it...
Comments
Four different approaches to listing all terms in one vocabulary
Answer to this available at:
Although the text in in Spanish you should be able to read the code :-)
Three methods are listed:
http://www.socinfo.com/drupal/listandocategorias/formamascorta
http://www.socinfo.com/drupal/listandocategorias/formacorta
http://www.socinfo.com/drupal/listandocategorias/formalarga
Please note that there is also a module for this at:
with a 4.6 upgrade patch at:
Thanks to:
for their original replies at
------
Con paciencia y calma,
sube un burro a una palma
The links are all gone.
Nancy W.
now running 5 sites on Drupal so far
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in Your Database
NancyDru
Update for Drupal 4.6/4.7: Views module
Update for Drupal 4.6/4.7: Views module
Views module does this and many other things
- Views module: http://drupal.org/project/views
- Documentation: http://drupal.org/node/54448
- ref. Ramdak's description: http://drupal.org/node/17245
Other - of potential interest:
List all nodes in a vocabulary:
http://drupal.org/node/51317#comment-131575
Assigning posts to categories with pathauto
http://drupal.org/node/68342#comment-132187
(just adding this comment for searchers that "end" up on this page, to find other relevant solutions quicker)
.
--
( Evaluating the long-term route for Drupal 7.x via BackdropCMS at https://www.CMX.zone )
Views doesnt work for me...
it should do the job, but it lists the same term multiple times... a bug, or some error somewhere....
the "socinfo.com" links in this forum don't exist anymore... where can we find a simple php code to insert in a block?
thanks
PS: anyway I solved my problem using the "taxonomy dhtml" module.
could you please explain how
could you please explain how you solved it?
I am looking to the same thing. Actually I would love to find a download that would list the vocabulary and terms below it in a grid in the page. I doubt that is possible from what I read.
I got the same errors as you with the Views module.
Solved my problem with taxonomy_dhtml
I wasnt able to solve the duplicated entries in "views" - somone suggested to use a "node:distinct" option, but my problem was not with duplicated nodes - was with duplicated terms.
Anyway, I used taxonomy_dhtml - when installed, several new blocks are available, one for each vocabulary, doing exactly what I was looking for. I use it in conjunction with taxonomy_filter to activate a simple but usueful automatic navigation menu. Contact me if you want more information about this :)