At the moment I have created many views that work well with User Relationships. However I am not able to override the following urls with custom views:

1. /relationships
2. /relationships/received
3. /relationships/sent
4. /relationships/1 (subject to what you need etc)
5. /relationships/2 (subject to what you need etc)

I know by default there is a view set up for:

1. /relationships/% (which works for viewing all users relationships)

The main reason for this coming up is I would like to add in a search via username and perhaps some other filters. This can be done very easily with views.

Any help would be greatly appreciated on this please. Perhaps I have missed a step?

Comments

glynster’s picture

Any thoughts here?

glynster’s picture

Just doing a follow up here to see if there is going to be a response?

pjmcghee’s picture

I wish there had been. i really need to do this too.

Triumphent’s picture

Views don't override system pages. Panels do... in some cases. If the /relationships/% view doesn't work for you, you may want to try overriding the pages with panels (use existing system pages only - such as Node template [/node/%node] or User profile template [/user/%user] and create a variant, creating a new panel page from scratch won't work.) Then, include your view in the content of the panel page. Failing that, your best bet (and the easiest) is to create a view with a different path like /friendships or /connections or something similar and update your menu links.