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?

CommentFileSizeAuthor
#6 subpath_alias-806206.patch1.03 KBsmk-ka
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

YK85’s picture

subscribing

edulterado’s picture

Subscribing

kmadel’s picture

Anyone have any ideas on this?

pembertona’s picture

Ping.

TrevorBradley’s picture

I'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...

smk-ka’s picture

FileSize
1.03 KB

Indeed, this is a long standing bug. Please try the attached patch and see if it helps.

Yoran Scholiers’s picture

/* 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 :)

sharpbites’s picture

subscribe

aLearningGuy’s picture

subscribing