Well, it’ll show the wrong thing, right?
Here’s how this works: The profile page should have a type. The page element should be of type User. The SOURCE for that page element should not be Current User. The source should be empty.
This will cause the page to expect a path at the end of its URL. That path is the unique ID of the User whose profile you want to display.
Any page with a type has a property called “Current page’s [data_type_name]”. If a page is of type “Foo” it will have property “Current Page’s Foo” (the Foo object this page is displaying). If a page is of type “Bar” it will have property “Current Page’s Bar” (the Bar object this page is displaying). If a page is of type “User” it will have property “Current Page’s User” (the User object this page is displaying).
The point of confusion becomes easier to understand when you consider a page of type Foo. You’d never confuse “Current User” with the Foo displayed on a Foo-type page.
It’s the same thing with a page of type User. Don’t confuse “Current User” (a metaphor for ‘the entity viewing this page’) with “Current Page’s User” (the user the page is displaying data about to some entity [which also happens to have User object that represents that entity – and we can conveniently access that data as “Current User”]).
So somewhere there is a link or the results of a search or something that can expose to John Doe a link to Joe Blow’s profile. When John Doe clicks the link to Joe Blow’s profile, the “data you send to the page” is the data for JOE BLOW, not John Doe. (In this case, “Current User” does not equal “Current Page’s User”.)
John Doe could of course also view his own profile. He might follow a link to John Doe’s profile (his own profile). The data you send to the profile page in that case is John Doe’s data. In that case “Current User” does equal “Current Page’s User”. John Doe might also follow a link or button you put in front of him that is labeled “View Your Own Profile”. In that case, you’d pass the profile page “Current User” as the data to send – that makes it easy, right?
The other thing that’s neat about this: The Profile page you’re building can be both a view page and an edit page. If User 1 is viewing User 2’s profile page, you’d make it so there’s no edit capabilities accessible. BUT, if User 1 is viewing User 1’s profile page (User 1’s own profile page), you could show an edit button near “bio” for example that either pops up an input or replaces the text element bio with a multiline input autobound to bio (or something similar – there are zillions of different things you could do).
The condition that would let you do this is “Current Page’s User” = “Current User”. That condition will be true (and will only be true) if the user is viewing “their own” Profile page.
To back up a step or two: It might be worth reviewing the tutorial Lesson on “Sending Data to a Page”. Armed with the information above, the info in that Lesson might seem more useful now than the first time you ran through it! I’m talking about this one:
on this page: