1
           
            
                
     
    
    I've tried using the xoops_getmodulehandler() function for the first time, but have had little success.
As I understand it, you use the name of the class file in the module's class directory (without the .php extension). With the module's name (directory name) as an option.
I can duplicate a file and give it different names, but it might only work if I use "menu" for example, if it's called something else, it fails.
I'm not sure if I'm missing something here or not?
For example:
 Error: Handler does not exist 
Module: amevents 
Name: adminmenu  
I've not done much coding over the last couple of years, so I'm rusty and looking at the function itself is not revealing anything to me.