Posted by AstaC on November 14, 2012 at 5:05pm
HI, I am in the process of upgrading my site from Drupal 6 to Drupal 7. I have now upgraded pathauto but just do not understand how to use it? The pattern for the path is to be written in another way than in Drupal 6 and I don't get it? I have searched for help both in dokumentation and here in the forum but I only find documentation regarding Drupal 6.
I want to create paths vocubalaryname/termname/nodetitle which in Drupal 6 was written [vocab-raw]/[term-raw]/[title-raw] but which tokens should I choose to get the same effect?
Comments
=-=
try : [term:vocabulary]/[term:name]/[node:title]
Thank you for your suggestion
Thank you for your suggestion but no, that doesn't work.
=-=
can you supply some meat as to what doesn't work? what does it output that isn't what you expect? or what isn't happening that you expect? or what is happening that you didn't expect?
I ask because '[term:vocabulary]/[term:name]' is the default for taxonomy on a new site with pathauto installed.
That is of course a good
That is of course a good question. Since it is very different from Drupal 6 I am note sure how to explain, but I will try.
n both Drupal 6 and 7 I can register a pattern for All Article Paths. In Drupal 6 I can enter a path that will give me exactly what I want, that is "site.com/vocabularyname/termname/nodetitle" and I get it by writing [vocab-raw]/[term-raw]/[title-raw].
In Drupal 7 I can not save anything like that in pattern for All Articles.
That is not in path for Taxonomyterms. In path for Taxonomy path in Drupal 6 I have
category/[vocab-raw]/[catpath-raw].
Does that make it any more understandable?
=-=
yes I better understand
expand your replacement patterns section under content paths
screenshot it and lets see what's available.
I've done that. But there is
I've done that. But there is no choice for vocabulary or term in general. Just don't get this.
I actually think it is an
I actually think it is an issue in token. I have to go through the issues in both pathauto and token.