Closed (fixed)
Project:
Pathauto
Version:
7.x-1.0
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2012 at 12:16 UTC
Updated:
27 Apr 2012 at 13:41 UTC
Using a token such as [term:parents:join:?] allows you to split an array of variables by a string.
[term:parents:join:string] performs as expected and produces the url "termstringtermstringterm"
[term:parents:join:/] does not perform as expected: "termtermterm"
Using hex codes as an attempt at a workaround I discovered the problem:
[term:parents:join:%2f] results in "term2fterm2fterm" - Pathauto is stripping the special characters from this token as it would from the term title.
This is a tricky one as the term names should be parsed but the splitter string shouldn't be.
Comments
Comment #1
dave reidThis is why we added the join-path token. You should use [term:parents:join-path]. You'll need to update to the latest Pathauto 7.x-1.x-dev for the token to be available.
Comment #2
duaelfrHi Dave,
What about [node:menu-link:parents:join:?] ?
I try to reproduce old [menupath] aliases but I may mess up something...
Could you direct me please ?
Comment #3
dave reidUse [node:menu-link:parents:join-path]
Comment #4
duaelfrFirst it gave me an error then I updated to lastest dev version.
Thank you.