We’re successfully creating a new resource from user input. This is done via a front end FormIt form with a hook. This uses the influencerPageGenerator as seen here: https://forums.modx.com/thread/88270/create-a-new-modx-resource-with-the-api
All works well, only the pages.resources we create however need to be ‘Articles’ as the client is using the Articles plugin to create this particular kind of page. So the ‘$parent’ resource ID is actually an Article container resource.
So rather than the resource appearing in the regular resource tree, it needs to be added to the Articles resource list. We’ve looked through the various files in the Articles plugin but are not 100% sure about how to go about this.
Would anybody be able to point us in the right direction?