I am trying to use a custom token that I created with the Custom Tokens module in a Pathauto pattern, but Pathauto keeps rejecting it as invalid:
The Pattern for all Minutes paths is using the following invalid tokens: [node:group-field-conditional].
The same custom token is working fine in the Automatic Nodetitles module. I haven't a clue how to fix this myself and I would greatly appreciate any help!
Comments
Comment #1
dave reidMake sure to clear your cache after creating a new token.
Comment #2
Zidewinder commentedAh, thank you so much! That did the trick.
Comment #3
colanCache clearing has no effect.
I've got my custom token working perfectly in a text field with token_filter, but it keeps telling me it's invalid here.
I also tried this another way: I tried putting the text field itself in as a token, "[node:field_id_text]", instead of the custom token that's in that field. Pathauto accepted it, but now it simply prints out the token name in the path: "tokentypetokenname".
How can i tweak either approach to make it work?
Comment #4
colanLooks like I had to use the "node" token type instead of rolling my own.