drupalfun.com
Menu link to my profile
Submitted by lizuka on Mon, 03/09/2009 - 17:43
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
- Login to post comments
Related Questions
Responses
2. aaah! Ok I've got it now
Submitted by lizuka on Tue, 03/10/2009 - 09:52.
aaah! Ok I've got it now ;)
thanks for the quick reply, I can carry on with the rest of your book now...
- Login to post comments


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).