Menu link to my profile

Status: 
Solved
Question: 

hello,
p40-41, the php code to create a button "My Profile" to put in a sidebar block doesn't work properly on my test site.
No error msg but when I'm logged in the link points to the id of the account I'm using (http://localhost/drupal/profil/lizuka) and not the Account I'm viewing.
And when I'm anonymous the link changes to (http://localhost/drupal/node/).
Any ideas where I could have misunderstood something?
Thanks :D

Responses

1. Hi, Yes, the block should

Hi,

Yes, the block should only be visible to authorised users (a setting in the block).

It was my intention to show only the current user's profile (so "my profile"), not the user that is being displayed. I can understand how the status box on top of it can create confusion (I need to move that, but a bug in panels keeps me from doing that).

2. aaah! Ok I've got it now

aaah! Ok I've got it now ;)
thanks for the quick reply, I can carry on with the rest of your book now...