I’m trying to implement user reviews into my site, but this review are about other users. I have most of it design, the only problem is that I can’t get the userId from the members page I’m currently viewing.
Let’s say I’m logged in as “Mr. X” and currently I’m viewing "Mr. Y"s profile page.
Now, the property wixUser.currentUser returns “Mr. X” userId and status. I need a property that returns “Mr. Y” userId so that I can link the review “Mr. X” wrote to the profile of “Mr. Y”.
I would try to make a dynamic page but I need the Member’s Bar object and can’t add it to a dynamic page. Besides this seems like something one should be able to do. Just like in a product page we have .getProduct() we should have a .getProfileUser() to get the current user we are viewing.