I don't think there's an easy way to do that. You can definitely have a Top Menu item that sends them to the Create/Edit resource page, but the parameters would have to be dynamic, and I don't think any tag you put there would be interpreted.
You might be able to create a plugin connected to OnBeforeManagerPageInit that checked the action (available as $action in the plugin), and if it was resource/create or resource/update redirected based on $modx->user (if that's set -- I think it would be).
I think it would work with 2.2 or 2.3, but not both unless you had code to detect the version and act accordingly.
It would be cool if it worked to have an "Edit Your Page" Top Menu item.
For starters, I would create a chunk named 'Debug' and create a plugin attached to OnManagerPageInit with this code:
$chunk = $modx->getObject('modChunk', array('name' => 'Debug'));
if ($chunk) {
$content = $chunk->getContent();
$msg = "\nUser: " . $modx->user . "\nAction: " . print_r($action, true);
$chunk->setContent($content . $msg);
$chunk->save();
}
Visit the Create/Edit Resource page and QuickEdit the Debug chunk to see what you get.
[ed. note: BobRay last edited this post 12 years, 2 months ago.]