Views 2 page alias replacement

Kane - May 24, 2009 - 22:17
Project:View Alias
Version:6.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Well i've searched for couple of hours and i think it's time to ask for help.

I'm stuck here:

I have views block 'Friends' on user profile page it displys friend's avatars. below avatars there's a link 'More' which leads to Views page with all friends of user.
Link of the user profile page is "www.mysite.com/users/John" link to all user's friends should be "www.mysite.com/users/John/friends" and that's where i have problem.
This link works if i type it manually, but that not one which leads to page via "More" link in block. Instead there's a path "www.mysite.com/user/3/friends".

My pathauto rewrite for users is: "users/[user-raw]".

I don't know Views arguments well and maybe i just need to add for example "user:name" (i've tried, but unlucky).

Thanks.

#1

greggles - May 25, 2009 - 14:58
Project:Pathauto» View Alias
Version:6.x-1.1» 6.x-2.x-dev

Pathauto itself doesn't provide direct support for views other than views that are created for node/NID taxonomy/term/TID etc.

The View Alias module does aim to be a general provider of Pathauto integration for Views and may be able to help.

#2

Kane - May 25, 2009 - 19:09

Thanks for quick answer, but i already know about View Alias and current beta works only with taxonomy (gonna try dev version now).
Some guy wrote that he successed with same issue, but no answer how he did it.

Anyway thanks for reply, at least now i'm not gonna spend tons of time trying to resolve unresolvable.

 
 

Drupal is a registered trademark of Dries Buytaert.