Addendum:
In the meantime it's clear Connectors are NOT deprecated in Revo 2.3
I just built a small CMP for Revo 2.3+ using only the new "methods" (so 2.2.x isn't supported in this add-on). The CMP works fine with only the namespace + menu + the Controller in
{core_path}components/mycmp/controllers/default/index.class.php
If I understand right, the usage of Connectors is deprecated so how does the system find the appropriate Processors?
xtype: 'modx-tree'
,id: 'mycmp-tree-usergroups'
,url: MyCmp.config.connectorUrl // <-- how is this handled ion Revo 2.3+
,action: 'mgr/usergroups/getUserGroupNodes'
,autoHeight: false
,height: 380
,root_id: 'n_ug_0'
,root_name: _('mycmp.usergroups')
,rootVisible: true
,enableDD: false
,ddAppendOnly: true
,useDefaultToolbar: true
,stateful: false
,collapsed: false
The tutorial of Susan Ottwell only mentions the new Controller files handling:
http://rtfm.modx.com/revolution/2.x/developing-in-modx/advanced-development/custom-manager-pages/custom-manager-pages-in-2.3
All other tutorials only describe the old deprecated methods.
Thanks in advance,
Martin
[ed. note: gadgetto last edited this post 12 years, 2 months ago.]