2
$xoopsModuleConfig only returns the values of the current module and not from another (I think so)?!
Maybe you have to add some more code your php-file and assign it to your template. Following code is just a guess:
$module_handler =& xoops_gethandler('module');
$module =& $module_handler->getByDirname("nameoftheothermodule");
$config_handler =& xoops_gethandler('config');
$moduleConfig =& $config_handler->getConfigsByCat(0, $module->getVar('mid'));
$xoopsTpl->assign('type',$moduleConfig['type']);
Non-tested-code, so no responsibility taken...
Notice: nameoftheothermodule should be replaced by the name of the module you want to take the config from, of course.