Download & Extend

Token for List Value in Node

Project:Pathauto
Version:7.x-1.0-rc2
Component:Tokens
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi there,

I am currently building a set of paths for a content type and wish to use the value of one of the fields that is a List(text).

We have a Content Type Column. Each Column article belongs to a Column Series, which is a mandatory field of type List(text). I wish to generate a URL path that looks like the following:
columns/[node:field_column_series]/[node:title]

Where I was hoping node:field_column_series would give me the value for the Column Series choice for the node. Unfortunately, that is not happening. I'm getting:
columns/[node:title]

I've replaced the column series with a text field like Author, everything works as expected. So I suspect I'm using the wrong token. Can anyone shed some light on how I can get the current value of that List(text) node?

Thanks in advance,

Comments

#1

Status:active» postponed (maintainer needs more info)

I just added a List (text) field to a content type in Drupal 7 and the token seems to be generating correctly as you have expected. The token name seems correct so I'm not sure that's the problem.

#2

Priority:major» normal

#3

I'm having the same issue as here. What is more confusing that the token for the list field worked on the first node, but then it stopped. I'm not sure what could conflict with it as I haven't enabled any new modules.

#4

A further update #1 at http://drupal.org/node/1270998 was the fix for me.

#5

Status:postponed (maintainer needs more info)» fixed

#6

Status:fixed» closed (fixed)

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

nobody click here