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

Dave Reid’s picture

Status: Active » Fixed

Currently 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].

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

marek.d’s picture

Status: Active » Closed (fixed)

Has 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.

marek.d’s picture

Status: Closed (fixed) » Active
tsvenson’s picture

Component: Documentation » Tokens
Assigned: stefa.rossi » Unassigned
Status: Closed (fixed) » Fixed

Since 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.