1
I am trying to integrate a PHP script into my profile module.
So far I have copied the script into a subdirectory of the profile module (ie \modules\profile\scriptdirectory)
Then added an include to the mainfile, header and footer. So far so good...
Now when I open the \modules\profile\scriptdirectory\index.php in my browser it show me (as an admin) the admin theme instead of my page theme (and as an user I have no permissions). I assume this has to do with the fact that the script resides in a subdirectory, but what would be the solution?
thanks,
Marc
EDIT:
Solved the problem. In /kernel/module.php in the function checkAccess() there is a check wether a directory has the file './xoops_version.php' ... so a simple creation of an empty xoops_version.php in my script subdirectory did the trick