1
i cannot, for the life of me, retrieve the username within a custom block.
i've tried :
require('header.php');
$uname = !empty($xoopsUser) ? $xoopsUser->getVar('uname','E') : 'abc';
echo $uname;
and i seem to always see 'abc'.
any chance someone can help me out a bit? :)
thanks.
-myrth