Slashes stripped from Pathauto tokens
sun - February 2, 2009 - 18:18
| Project: | Menu Trails |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | sun |
| Status: | closed |
Jump to:
Description
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.
| Attachment | Size |
|---|---|
| menutrails-DRUPAL-6--1.pathauto-tokens.patch | 1.81 KB |

#1
I 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.
#2
Did you change your pathauto tokens to use [menu-trail-parents-path-raw] before testing?
#3
The 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.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.