Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Description:
1. Site has user pages aliased from user/1 to user/[username]
2. View setup with user:uid as argument. e.g. user/1/bookmarks
Unfortunately using views doesn't generate the aliased URL, so I looked to this module to provide the subpath alias
Now, user/1/bookmarks still works, but user/[username]/bookmarks causes the site to hang (no 404, simply the page fails to load).
Is there any way to get this module to work with views, providing sub-path aliases for views that take arguments in the URL?
Comment | File | Size | Author |
---|---|---|---|
#6 | subpath_alias-806206.patch | 1.03 KB | smk-ka |
Comments
Comment #1
YK85 CreditAttribution: YK85 commentedsubscribing
Comment #2
edulterado CreditAttribution: edulterado commentedSubscribing
Comment #3
kmadel CreditAttribution: kmadel commentedAnyone have any ideas on this?
Comment #4
pembertona CreditAttribution: pembertona commentedPing.
Comment #5
TrevorBradley CreditAttribution: TrevorBradley commentedI've just hit the same problem, and am looking for a solution.
I came across this module, I haven't used it yet though:
http://drupal.org/project/view_alias
EDIT: nevermind, View Alias may only be for TermID argumements...
Comment #6
smk-ka CreditAttribution: smk-ka commentedIndeed, this is a long standing bug. Please try the attached patch and see if it helps.
Comment #7
Yoran Scholiers CreditAttribution: Yoran Scholiers commented/* I have just tried this patch, but it doesn't seem to be working for me.
My field is linked to 'node/[nid]/images' and correctly aliased to 'albums/test-album/images' by this module.
But when actually going to the url the site still hangs...
The message that Firefox returns is:
"The page isn't redirecting properly.
Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
Or is my problem completely unrelated to this issue and just made a stupid mistake? :D */
EDIT: nvm, found it was a problem with global redirect as mentioned in another issue.... Perhaps mention something about that in documentation if you haven't already.
Thanks for the helpful module :)
Comment #8
sharpbites CreditAttribution: sharpbites commentedsubscribe
Comment #9
aLearningGuy CreditAttribution: aLearningGuy commentedsubscribing