Closed (fixed)
Project:
Menu Trails
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Feb 2009 at 18:18 UTC
Updated:
1 Oct 2025 at 21:18 UTC
Jump to comment: Most recent
All path or URL alias token names need to end in "path", "path-raw", or "alias", so Pathauto does not strip the slashes from token values.
This is some magic code in pathauto_clean_token_values() in pathauto.inc.
| Comment | File | Size | Author |
|---|---|---|---|
| menutrails-DRUPAL-6--1.pathauto-tokens.patch | 1.81 KB | sun |
Comments
Comment #1
qbnflaco commentedI tried this patch and it didn't work for me. :-( It's still not getting the proper path using pathauto. It's still ignoring the menu trail parents.
Comment #2
sunDid you change your pathauto tokens to use [menu-trail-parents-path-raw] before testing?
Comment #3
sunThe current tokens cannot work at all. So no module update required. Hence, committed.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Comment #5
halthPosting this here for others landing from a search engine (just like me) and looking for a solution to this problem.
As of the date of this post and considering pathauto version 1.13, you should add your custom token to the Safe Tokens field in pathauto settings (/admin/config/search/path/settings).
Just ending your token name in one of the strings mentioned in the ticket description won't do it.
Good luck.