1
Hi, I'm developping my first module for xoops.
I have been able to work around some problems... this one just is over my head.
On the admin/index.php I tried getting the user id of admin by using
Quote:
if ( $xoopsUser )
{
$uid = $xoopsUser->getVar('uid');
echo "test";
}
No lines are printed and I am unable to get the value uid for admin by these means.
it seems like $xoopsUsers is undefined or doesn't contain anything...
I would be grateful if anyone could help me figure out this problem.. I have spent over 3 hours trying to fix this problem.
Thanks a lot