Active
Project:
Category tokens
Version:
6.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2010 at 01:57 UTC
Updated:
27 Oct 2010 at 01:20 UTC
What is the difference between Category Token and Taxonomy Token? (http://drupal.org/project/taxonomy_token)
Comments
Comment #1
dman commentedDifference #1 is that I can't grab it with drush to evaluate it quickly.
Difference #2 is that taxonomy_token is a better name :-)
taxonomy_token offers a handy configuration UI at admin/settings/taxonomy_token (select which vocabs to generate tokens for), category_tokens doesn't
taxonomy_token has some documentation, category_tokens doesn't
taxonomy_token offers the following sort of tokens for each chosen vocab:
category tokens (although it mis-labels itself taxonomy tokens in the UI) provides this:
Generally, I prefer seeing readable strings in my tokens, but hm.
If you need first and last terms, then category_tokens would be helpful.
I'm a bit more comfortable with taxonomy_token - because I only need it for single-select vocabs.
There may be room to merge the concepts, but now they are doing slightly different jobs. Clearly they should at least be cross-referencing each other on the project page.
Comment #2
OneTwoTait commentedThe best documentation for these modules that I've seen so far is this post. :)
It seems both Taxonomy Token and Category Token are only useful on nodes! I tried using them to generate a page title on a taxonomy term page and it didn't work.
Another downside for Category Token is that it uses the taxonomy names rather than numbers, which means some taxonomies won't be usable. For example, I have a taxonomy called "City, Province" and that won't work with Category Token.
Comment #3
dman commentedIt has actually cleaned up the vocab names. in my example above the vocab "Office, position, or title " became "office-position-or-title"
Comment #4
rsevero commentedTo taite11:
If you are interested in "taxonomy" context tokens from Taxonomy Token module, please take a look (and provide more info) at #953980: Should Taxonomy Token provide "taxonomy" type tokens besides "node" ones?.