Extend rout for profile page


Well-known member

I'm creating an add-on, that in profile page of users, will add a button. The button is linked to another page, but in that page I need to get that profile owner cam from his profile. To get his user id.

For example, when I click on it on my profile page, then in that page something special for me will be appeared. And also my user id should be readable in that page, to pass it to a php file (now its not possible)

So I need to extend route profile page I think (not sure)

Can anyone please help me in this story? What is the best way to do so?

Thanks in advance
Top Bottom