Hi Dave,

Since the 23rd of June Pathauto stopped working for terms. All new terms is getting the following URL:

"category/tags-x" (where x is an incrementing number starting from 0)

The pattern for the terms are:

"category/[term:vocabulary]/[term:path]"

I am using the 7.x-1.x-dev (2010-Jul-01) version of both Pathauto and Token with Drupal alpha 5.

Comments

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

First, let me be clear, that term:path means the url alias of 'taxonomy/term/termid'. So using the latest code, an taxonomy term generates an alias like 'category/tags/taxonomy/term/1'.

Are you trying to maybe use category/[term:vocabulary]/[term:parent:path]/[term:name]

tsvenson’s picture

"category/[term:vocabulary]/[term:path]" is actually the default pattern you get when you first enable the Pathauto module.

It worked just fine up till the 23rd of June, as you can see here: http://www.nutshell.nu/category/tags/drupal-7 (system path: "taxonomy/term/2").

In the case above I am using the standard Tags field that Drupal 7 comes with.

I am planning to use both one level and multilevel vocabularies, and right now I find it a little confusing how to create patterns for, especially, multilevel vocabularies.

For a single level I assume I should use: "category/[term:vocabulary]/[term:name]"

But how do I create a pattern for multilevel vocabularies if I need aliases both for each level and the name?

Example:
vocab/level1name/level2name/name

Aliases needed:
vocab/level1name
vocab/level1name/level2name
vocab/level1name/level2name/name

These are needed as I want to be able to categorise content on all three levels.

To add to this, I'm hoping the linage feature in Hierarchical Select functionality will come to Drupal 7 soon. Then when selecting the last level it will also save it for level1name and level2name as well. That way it will be easy to create a drill down filter using this taxonomy.

dave reid’s picture

We'll likely have to add a 'term:tree' token that basically acts like D6's 'catpath' token. Or maybe term:parents-all. I'm open to ideas on the name of this token.

dave reid’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Marking this as a duplicate of #860082: BIKESHED: Token for a term or menu item's entire tree/hierarchy which will be handled by token.module, not here in pathauto.