1
jbenalluch
Need help!
  • 2005/3/14 5:48

  • jbenalluch

  • Just popping in

  • Posts: 1

  • Since: 2005/3/9 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