Hello,
I'm listening to the on_project_tabs event, I want to add my tabs after others, however my module is being called before that one, thus, addAfter does nothing. How are modules loaded? How do I ensure that my module is loaded after the system modules?
System modules (system, resources and milestones) are always loaded first. Please note that People tab is always added last, after all other tabs are added.
Is there anything documented about the Module.class.php installation call/procedure to set the position? Or do I have to manually update the table myself?
There is no internal interface for using position field. It is there and system uses it for sorting, but none of the modules actually set it to any value different than 0. It's just there for convenience and if you need to change the order modules are loaded.
I'm listening to the on_project_tabs event, I want to add my tabs after others, however my module is being called before that one, thus, addAfter does nothing. How are modules loaded? How do I ensure that my module is loaded after the system modules?