I am trying to create a website with custom member profile page where each member can create modify their profile page information/data. So far users are able to create update their information and the same is visible on their profile page (I used filter by ‘owner is logged in user’ to make this work, else data updated by other users was also visible) but the problem is that when the logged in users visits profile page of other members they still see their own information. I understand that this is happening because I have used the filter in my dataset but I am unable to figure out a way to make each profile page unique. I want members to be able to see and update their own profile page data and at the same time also see the profile page data of other members, pretty much like how it happens on Facebook where we could visit profile pages of other users and see their previous posts.
I have seen a very similar query in below post, but was unable to find solution from it.
To do this you would basically just need two different dynamic pages, one that would be the “My Profile” page and another for displaying other peoples profiles.
You can leave the page you have now as is but create a new dynamic page that will open and display information depending on which user’s profile is clicked.
Thank you so much to getting back to me. Even to learn that this feature is possible on wix at this time, is in itself a huge relief for me.
I am currently using the default member’s area widget and the idea is that when a member clicks on the profile of any another member he/she should be able to view their profile data of the other member in read only mode.
I can configure the custom member’s area if the need be.
While I will be able to configure the dynamic page and link database fields accordingly, due to lack of expertise I am unable to figure out the code logic for the same.
I assume that I will have to use the OnClick event on the member area page and redirect it to the member profile with the help of some unique id like below.
$w (“#myElement”). onClick ( ( event ) => {
2 let targetId = event . target . id ;
May I please request you to provide me some guidance on the necessary code to display information depending on which user’s profile is clicked, and I will try my best to accomplish this based on your input.
Thank you again for you valuable response on my query.
May I please request you to provide me some guidance on the necessary code to display information depending on which user’s profile is clicked, and I will try my best to accomplish this based on your input.