Hi there,

currently there are [catpath] (full path to a term, aliased) and [tid] (term id).
It would be nice to have the ability to get full path to a term with only IDs in there (e.g. ../1/2/3)

Thanx!

Comments

greggles’s picture

Project: Pathauto » Token
Version: 6.x-1.1 » 6.x-1.x-dev

This would be a token issue, not Pathauto. I also don't completely understand the /1/2/3 element of it (probably because I don't use advanced/hierarchical taxonomies). Can you expand the explanation?

serg.remote’s picture

URL alias module makes aliases like: taxonomy/1/geographies/europe/france for taxonomy/term/13 thus including all parent terms in alias. However some modules still don't work with aliases so it might be nice to have token for hierarchical path but containing the IDs of the parents. For the above the path would be something like 2/5/13, where 2 is ID of 'geographies'.
Not sure, however, if someone else needs it and would it be easy to implement.

Regards,
Serge

dave reid’s picture

Status: Active » Closed (won't fix)

You're more than welcome to create your own tokens. See the API.txt included with the module.