The Taxonomy Token module allows the user to set vocabularies for which there will be created specific tokens. It's main use is together with the Pathauto module.

Features

It can create two types of per vocabulary tokens: single term and full term path.

As the creation of specific tokens for each vocabulary might have some noticeable performance impact it's advised to enable specific token creation only for the vocabularies that will actually be used. The performance impact will probably be more intense with the creation of full term path tokens.

Dependencies

  • core Taxonomy module
  • Token module

Usage documentation

Usage documentation is maintained as Advanced Help pages.

Credits

Taxonomy Token is maintained by rsevero

Development is sponsored by Fábrica de Ideias.

The idea for this module came from code available at #185446-22: Provide tokens for each vocabulary from jenlampton.

Roadmap

There are no new features planned. The roadmap for now is just a, hopefully, straight line to a stable release with at least a one-week BETA and another one week RC.

Other

You can see the issue queue.

Comparison with Category Tokens module

The Taxonomy Token module is similar to the Category Tokens module. Here is an attempt to outline it's differences.

Vocabulary identification method

Taxonomy Token uses the vocabulary id (number) to identify the vocabulary in the token name. For example [node:vocab:1:term] is the top term name in vocabulary with id 1. This method guarantees that token names remain constant even in case some vocabulary name is edited.
Category Tokens used a simplified version of the vocabulary name. For example [first-term-name-in-office-position-or-title would result in the same info as above if the vocabulary with id 1 is named "Office, position or title". This method provides more readable token names.

Available tokens

Taxonomy Token offer a few tokens not available in Category Tokens, namely the tokens that provide all parents of each token:

[node:vocab:TID:termpath]
As [node:vocab:TID:term] above but including its supercategories separated by /.
[node:vocab:TID:termpath:url]
As [node:vocab:TID:term:url] above but including its supercategories separated by /.
[node:vocab:TID:termpath-raw]
As [node:vocab:TID:term-raw] above but including its supercategories separated by /. WARNING - raw user input.

Configuration options X performance impact

Taxonomy Tokens allows the user to set one of the following token type options per taxonomy:

  1. no tokens generated;
  2. only single term tokens generated;
  3. single and complete (full path) token generated.

With these options the performance impact of the module can be reduced to the minimum necessary to achieve the desired results by enabling token generation only for the pertinent taxonomies.
Category Tokens has no similar configuration options.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.4 tar.gz (13.27 KB) | zip (16.81 KB) 2010-Dec-10 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (13.1 KB) | zip (16.37 KB) 2011-Feb-25 Notes

Project Information


Maintainers for Taxonomy Token

  • rsevero - 28 commits
    last: 1 year ago, first: 1 year ago

Issues for Taxonomy Token

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 27 Oct 10
nobody click here