7
But it doesn't. I'm sure that there is some fundamental mistake I'm doing or some concept I haven't grasped.
I'm calling a static function in a class (in a separate file) from the block show function. The static function called then declares global $xoopsModuleConfig and uses that to get the $xoopsModuleConfig['limit_by_uid'] .
Now, why does it work when showing the block together with the module, but not when showing it together with other modules? To me it seems like it is dependent on something being initiated (or to that effect), which it isn't when calling just the static function.
Is it so that you can only call parameters using the global $xoopsModuleConfig from the "active" module? (makes sense now that I think about it)
Is this what your code above is trying to circumvent (though it doesn't work for me)?