jesuralem Posted August 29, 2019 Share Posted August 29, 2019 Hi, Here is what i am trying to do : add in a custom template a link with the current connected user id in it : <a href="https://example.com/memberid">go to my link</a> Is there any way i could get the memberid from a simple variable and how would you write it ? Link to comment Share on other sites More sharing options...
Adlago Posted August 29, 2019 Share Posted August 29, 2019 4 hours ago, jesuralem said: Hi, Here is what i am trying to do : add in a custom template a link with the current connected user id in it : <a href="https://example.com/memberid">go to my link</a> Is there any way i could get the memberid from a simple variable and how would you write it ? Take a look at a userPhoto template - or any other template that has user definitions - that will answer what you search. Link to comment Share on other sites More sharing options...
Martin A. Posted August 29, 2019 Share Posted August 29, 2019 {member.member_id} Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.