1
I'm trying to add a few lines to the XOOPS php-code to get some usage statistics. I want to write the date/time, IP-adress, username and modulename to a text file (and then simply analyse is with Excel). In the FAQ i've read how to get the username (
https://xoops.org/modules/smartfaq/faq.php?faqid=255). It is:
$uname = $xoopsUser->getVar('uname');
Now I try to get the modulename (the same as shown in the page title) on the same manner. I've tried something like:
$dir = $xoopsModule->getVar('name');
but that won't work. Can someone tell me how to do this? I know there are Smarty tags like <{pagetitle}> (or something like that), but i'm editing directly into the php-code, so it seems not to work.