Okay, so as of the latest SVN, we’ve changed modActions to no longer have a `context_key` column, but rather a `namespace` column. This means modActions are now tied to modNamespaces. In your modNamespace for your 3PC (3rd party component), you’ll need to set the path so that MODx can point to the proper controller in your 3PC (3rd party component).
For example, a component called ’Test123’ that had a modAction with the field `controller` set to ’index’, would need to have a modNamespace ’test123’ tied to that action. In that namespace, the path setting would be wherever that 3PC is being installed to. Let’s say we’re installing it to: ’assets/components/test123’. So, the modNamespace path would need to be:
{base_path}assets/components/test123
This can be set via a new 4th parameter in modPackageBuilder, "path", set like so:
$builder->registerNamespace('test123',false,true,'{base_path}assets/components/test123/');
This means 3PCs no longer need their own context. The manager pages, when loaded, will already be in the ’mgr’ context. For now, at least until Jason finishes with removing the MODx connector context, 3PCs will initialize their connectors into the ’connector’ context.
Once we’ve committed the fix to make connectors initialize in their requestor’s context, then connectors for 3PC custom manager pages will initialize in the ’mgr’ context (since they’re being accessed from the manager pages that are initialized in the ’mgr’ context. We’ll try and get some sample code to init the connectors this way as soon as we finish implementing it.