Quote from: BobRay at Sep 27, 2016, 09:01 PMYou could edit the post with NewsPublisher in the front end, but you'd have to enter the author's ID rather than a username.
In the Manager, it might be possible to create a TV with a drop-down list of authors to select from, then update the post's 'createdby' field in a plugin attached to OnDocFormSave based on the selection, but it would take some work and some PHP coding to implement.
i added this code to modx.panel.resource.js.(after resource_longtitle, line 503). its working, saving author data. but only work with ID
{
xtype: 'textfield'
,fieldLabel: _('resource_createdby')
,name: 'createdby'
,id: 'modx-resource-createdby'
,anchor: '100%'
,editable: true
,typeAhead: true
,typeAheadDelay: 300
,forceSelection: true
,value: config.record.createdby || ''
}
this is listing username in listbox. but not saving data
{
xtype: 'modx-combo-user'
,fieldLabel: _('resource_createdby')
,name: 'createdby'
,id: 'modx-resource-createdby'
,anchor: '100%'
,editable: true
,typeAhead: true
,typeAheadDelay: 300
,forceSelection: true
,value: config.record.createdby || ''
}