On the user profile page, I want to add link field which will be the link for the view page.
If the current path is,
sitename/user/1 (profile page of user-1)
So, I want link should be like,
It should automatically take the
user-id from the
current-path. And if I click it should redirect to
sitename/user/1/view-page. So in general
The idea is, the view which is on that page has contextual filter for the particular user, so this way we can provide the user-id to view through URL.
Any suggestion? Or any other way of doing this would also be appreciated. Thanks.