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

cdale’s picture

Sorry 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.

highvoltage’s picture

Wow, 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?

cdale’s picture

Status: Active » Closed (duplicate)

This is probably now a duplicate of #468886: me and flag-friends.