I'm developing a module where in I have a few module definitions (controls/.ascx-files) that I would like to be accesible "globally" from some of my other modules.
Just the same way that the global "Settings" from the action menu work for any module.
I have found that the trick is to wipe the ModuleDefID from the table ModuleControls and replace it with NULL.
Using NavigateURL("mykey") within the ModuleActions property within other modules makes it accesible globally.
Do you follow me here?
So I have it working after applying the above manual hack.
The question is if (and if so, of course how?) to have the ModuleControl register with a ModuleDefID of NULL instead of the ModuleDefID when installing the package?
Usually we have the below in the manisfest (.dnn) file:
This will register the module control for the module definition.
But is there anything else I can add or change here to make the module control NOT register for this module defintion?
Thanks in advance