I have created a post format wherein the user who created the post’s picture is visible. When the picture is clicked, I want the page to redirect to the profile page of that user. Same goes when the username is clicked.
You want to send the data from that repeating group cell to the page. In the data to send, option for that workflow action, set the value to “current cell’s user” (or wherever the data on that user is in the repeating group cell, “current post’s creator”, for example).
Make sure the profile page has a data type user, and make sure the elements that you’re using to display the user’s data on the profile page are set to “current PAGE user” instead of “current user”.
I’m pretty sure you can’t send data from page to page unless it’s via URL. Anyone feel free to correct me if I am wrong on that.
I’d guess you need to make this function operate on a single page using custom states or hide/show capabilities. Then you can use the display data function and send it to the parent group of the profile.
If you have build your profile page inside of a single group you can copy and paste the whole thing onto your selector page and make it not visible when page loads, then when you select the profile hide the selection menu and show the profile after you display the data to it.
Of course you could send the user to be displayed via unique URL, but you’d have to configure the page to get information from the URL when it loads and then apply the data to your group(s).
So I used the method as directed by SerPounce in the comments thread for this issue. But I am facing the problem as described in showing the list of posts done by that user.
In the parent group you’ll need to set to just the page user, then inside of that you’ll set the repeating group data source to parent groups page user’s posts.
Edit: I just realized you’re not using a repeating group to display the full list of posts. You’ll need to take that entire group you’re housing a post inside and stick it inside a repeating group then set the repeating group data source to posts created by page user sorted by date created.
Then in your group for post you’ll set the data source to parent groups current cell.
If you want to display just a single post, then click More and select the post number you want to display out of the list of posts.