Re
[+newsBody+], this is a placeholder that is needed to reload your existing content in the RTE box when you redisplay the input form following a validation error. See pubKit.inc.php around line 93:
if (!empty($message)) {
$modx->setPlaceholder('newsBody', $fields[$rtcontent]);
I hit on this method when I was originally experimenting with News Publisher. If you don’t have the placeholder, you lose your existing content on redisplaying the form.
Re getting the right addresses for the
action attributes of forms, I suggest you use whatever suits you best in relation to the URL structures you need/prefer to use on your site, and whatever gives rise to least errors in distinguishing between pages by names or numbers. For troubleshooting purposes, it is simpler to ensure you know the ID of the correct page for the action and let MODx generate the link,
action="[~37~]". Also ensure you have
<base href="[(site_url)]" /> in your HEAD section.
Personally, I find it easier to keep tabs on things by name, especially if I work on a local copy of the site on my PC and copy updates to the server, or copy the setup from an old site to a new one, where the resource IDs will be different. Using names is simplest if you don’t use the "Friendly URL paths", but often you need to use them, of course, so you have to get it right in the URL for the action attribute. BTW
action="" is legit for referring to the current page, though I believe a couple of older browsers don’t cope well with that (or maybe that concerns missing the attribute altogether, which should also default to the current page).
If the RTE isn’t showing up on your form, first thing is to check the TV is available to the relevant template. Make a test page based on the template, enter [*pkRichContent*] as its content, and see if it works.
KP