Hello all;
I'm using Drupal 7.2, with the Pathauto module.
I have a taxonomy structure that is 5 levels deep, like this: (Each term references the one above it as "parent")
- Vocabulary1
- Term1
- Term2
- Term3
- Term4
- Term3
- Term2
- Term1
- Vocabulary2
- Vocabulary3
- etc.
I'd like to have a URL alias like so:
example.com/vocabulary1/term1/term2/term3/term4/[node:title]
I can't find a replacement pattern that will give me a complete alias path for the full depth of my taxonomy structure...
The pattern for Nodes I've set as:
[node:title]
The pattern for taxonomy term paths I've set as:
[term:vocabulary]/[term:parent]/[term:name]
But the taxonomy terms paths never show, just the node title.
Any suggestions?
Under D6 I think we had a "catpath" that doesn't appear to exist anymore for D7.
Reference this topic:
"Add a [node:term]" - http://drupal.org/node/741914
Comments
Parent..Parent...Parent
Hi,
I'm not sure it is the way you expect but in then taxonomy pattern inside taxonomy terms you have the following pattetn
[term:parent:parent]I think you can construct your url like this...
Hope it helps
Regards
To reflect term hierarchy in
To reflect term hierarchy in D7 using pathauto, I go to page admin/config/search/path/patterns and add the following pattern:
Not sure how many levels it can go to, maybe forever as it uses token chaining, would be nice if a big brain could confirm.
Suppose you have a content
Suppose you have a content type with attached field field-pathauto-my-term. Try this:
Drupalish by EuroDomenii
Entity tokens module required.
I would just like to mention that the "Entity tokens" module is required to use the tokens EuroDomenii is talking about.