1
I wonder how the modinfo.php language files are loaded. If I switch off the main menu block, the modinfo.php from the simplenewsletter module isn't loaded any more; if I switch on the main menu block, it again is. I can repair this problem by adding
require_once XOOPS_ROOT_PATH.'/modules/simplenewsletter/language/'.$xoopsConfig['language'].'/modinfo.php';
to several php-files of simplenewsletter, but I expect there is an easier way. E.g. the other modules don't have this problem after switching off the main menu. Are not all modinfo.php files loaded by function loadInfo in kernel/module.php ??
What is the appropriate way to load modinfo.php in the simplenewsletter module ?
Kind regards !
SMEDrieben