1
I am having a really wierd problem with a module I'm writing.
With the module loaded and a user is logged in, everything is fine for everyone (admin & registered users)
With the module loaded and user is not logged in (anonymous), the menus get all sorts of messed up regardless of what module I'm using, and regardless of what blocks I have loaded (of course the menu is loaded)
When I unload the module, everything is fine again for everyone (admin & registered users).
Now here's the really wierd part: I load the module again, I go to the control panels and disable module access for anonymous users. I submit those changes and log out (so I can test anonymous), and low and behold -- everything is perfect again as if there was no problem at all.
The menu structure is no different than any other menu. I have a couple of options set forth in the xoops_version.php file. If I disable all the menus for that module, it still acts all messed up. Otherwise, I dont' see why this module should affect the site so like any other module.
I'd love to paste some code here for review, but I don't even know where to begin. Has anyone else ever experienced this wierd behavior? I could use some advice.
Or I could at least use some advice as to where to begin trouble shooting.
Thanks.