Closed (fixed)
Project:
Pathauto
Version:
7.x-1.0-beta1
Component:
Tokens
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2011 at 18:25 UTC
Updated:
17 Jan 2012 at 21:50 UTC
Hi,
I find Pathauto for Drupal 7 a little too hard to setup. I had no problems with D6, but in D7 I really don't understand the patterns.
The forums are located in: /forum
The URLs for the containers are: /forum/container
The URLs for the forums are: /forum/container/forumname
So, the pattern for forums and containers is: forum/[term:parent]/[term:name]
Now, I need to create topics aliases like this: /forum/container/forumname/topicname
What is the right pattern?
Thank you so much.
Comments
Comment #1
dave reidCurrently there is no token available to connect nodes with the forum (which is a taxonomy term field so it's not so simple anymore). This will be solved with #691078: Field tokens so your pattern for topics would be something like [node:taxonomy-forums:first:url:alias]/[node:title].
Comment #3
marek.d commentedHas the token issue been address? What is the replacement pattern?
In the patterns configuration screen under Forum, there is no filed for forum topics, only forums and containers. I am using chain menu access module which takes care of the forums and containers, but my forum topics still start from the root of the site? The only way to change that is to provide suitable replacement patterns for the first, generic, node patterns.
Comment #4
marek.d commentedComment #5
tsvenson commentedSince field tokens now are available in the token module, it is possible to use "forum/[node:taxonomy_forums]/[node:title]" to get a nice clean path for forum topics.