in page.tpl.php of your theme.
you find there something like
[code]
if (!$client['id']) {
echo '
<td align="right">
'.url('member/login',t('Login')).' | '.url('member/signup',t('Sign up')).'
</td>';
}
else {
echo '
<td align="right">'.url('u/'.$client['uname'],$client['uname']).' | '.$friendslink.' | '.url('message',t('Inbox').msg_unread() ).' | '.url('notifications',t('Notifications').note_unread()).' | <span class="sub">'.url('member/logout',t('Logout') ).'</span>
</td>';
}
[/code]
the else part you need to replace with the code.
do not replace the last }, it has to remain there
after that you can replace $client['uname'],t('Profile') by $client['uname'],$client['uname'] because we used the FB-template for the example, not the default template. |