1
Hi,
I just installed xoops2.0.7.3 and created a new block.
I have added some HTML lines in the block, That worked fine.
I then added php lines in the block (i.e. phpinfo()), that also worked fine.
Now I want to show the "username" but have no idea how to get the user info. I tried
$username = $xoopsUser->getVar('uname');
but got "$xoopsUser is not an object".
Please tell me how to get $xoopsUser.
Thanks!!
Regards,
Marcus