5
How you retrieve the module ID (mid) for a module depends on which PHP script you are trying to find it in. For many instances you can just use:
le="color: #000000"><?php $mid = $GLOBALS['xoopsModule']->mid();
Or if you're trying to find a specific module's mid when your in a PHP script for blocks you could do something like:
le="color: #000000"><?php $module_handler =& xoops_gethandler('module'); $config_handler =& xoops_gethandler('config'); $myMod = $module_handler->getByDirName('yourModuleFolderNameHere'); $mid = $myMod->mid();