Closed (fixed)
Project:
Pathauto
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2007 at 10:14 UTC
Updated:
18 Aug 2007 at 16:34 UTC
i don't know if this is probably a token-issue but i only tested it with pathauto so i post it here.
[catpath] acts like [cat] in path templates. for example when using it for the forums it happens like this:
forum/[catpath] translates into something like
1.x: forum/myfirstforum/mysubforum
2.x: forum/mysubforum and forum/myfirstforum
the 2.x behaviour is like [cat] should be.
Comments
Comment #1
gregglesPathauto was using taxonomy_get_parents but should have been using taxonomy_get_parents_all
See http://api.drupal.org/api/5/function/taxonomy_get_parents vs. http://api.drupal.org/api/5/function/taxonomy_get_parents_all
Within 24 hours the download should be fixed.
Comment #2
gregglesI introduced a slight regression with this that terms would get aliased as /term/term or /parent/term/term instead of just /term/ or /parent/term
I believe that's fixed now :)
Comment #3
(not verified) commented