By fusion94 on
I'm trying to configure Pathauto to work in conjunction with the forums and am having a few issues.
Currently what is working is that I have it broken down by container and forum. So this is working:
http://example.com/forums/general
http://example.com/forums/general/introductions
And so on. What's not working is individual topics. What I'm currently trying to get is this:
http://example.com/forums/general/introductions/my-introduction
http://example.com/forums/general/introductions/hello-there
Instead I'm getting this:
http://example.com/my-introduction
http://example.com/hello-there
What would be the particular Pathauto setting that allows me to accomplish this?
thanks for any help/direction.
Comments
The setting defaults all
The setting defaults all 'Node path settings' to [title]. You want to go under 'Node path settings' and change 'Pattern for all Forum topic paths' I'm not sure exactly what variables you need though. I have '[type]/[title]' this gets me 'forum-topic/hello-there'. I think you want this 'forums/[catpath]/[title]', that should get you 'forums/[CONTAINER]/[FORUM]/hello-there' which is what I think I need also even though it will be a bit long, try it out you can always change it later, make sure you have bulk update checked too.
Edit:
I just tried it and for some reason [catpath] doesn't get me anything in the 'Node path settings' area for Forum Topic and I just get the [title], does this happen to you also? I think I'll submit this to the bug report there if it isn't already in.
Edit Again:
Ok I looked and I'm pretty sure the problems been reported here and fixed in the 5.x-1.x-dev version, but not the official 5.x-1.0 version so try this out on the 5.x-1.x-dev version. I'm at work so I can't test it out right now, if it works post how it goes.
Resolved
Using the Pathauto Dev version in conjunction with forums/[catpath]/[title] solved the issues.
Thanks
-t
Tony Guntharp
Co-Founder SourceForge.net
fusion94@damagestudios.net
This is an old thread but...
This worked for me.
forums/[termpath-raw]/[title-raw]
I also added date stuff at the end so that the node paths would be unique.
works great
that worked beautifully in 5.x
thanks!
Yes!
Works great! thanks mikeybusiness.
Drupal 5.7 / Pathauto 5.x-2.2
Old but still relevant apparently...
Thanks! This solved my problem in Drupal 6.8—I'd been using [menupath-raw] instead of [termpath-raw]...
Note [catpath] does not seem to be a valid token any longer... or at least, not in my setup.
:)