I have created a views page using the id of the user like: "/%/friends"
How can I call the url of this link in my custom menu using me? like "/me/friends"? if I use me in menu link url it shows me a error message saying the path is not valid...
I have created a views page using the id of the user like: "/%/friends"
How can I call the url of this link in my custom menu using me? like "/me/friends"? if I use me in menu link url it shows me a error message saying the path is not valid...
Comments
Comment #1
cdale commentedSorry for the delay in replying.
The path will need to be friends/% and hence, friends/me in the menu.
Drupal does not support wildcards for the first menu part.
Comment #2
highvoltage commentedWow, I'm trying to do something very similar, but the view is a tab page(provide menu as tab) on the user profile.
The path for the view is user/%/friends, but with the me module enabled the view tab fails to display. It seems the view isn't getting the user id properly.
Any ideas?
Comment #3
cdale commentedThis is probably now a duplicate of #468886: me and flag-friends.