Adding an RTE to your news form requires you to create your own form template or
modify the one posted above. In this tutorial we will simply modify the form template
posted above.
Here’s a quick reminder on how to create the RTE TV:
1) The first thing you need to do is create a TV called RTContent (or some other
name).
2) Select the RichText widget and select you favorite RichText Editor.
3) Save the TV
Next we need to modify the above form template by replacing the line:
<textarea name="content" cols="50" rows="8">[+content+]</textarea>
with the follow: [*RTContent*]
Copy and paste the modified form template into a chunk called NewsForm.
Finally we need to modify for NewsPublisher snippet so that we it can recognize our
new RichText TV.
[[NewsPublisher? &folder=`2` &formtpl=`NewsForm` &rtcontent=`tvRTContent`]]
Try to select the template that you use for news pages in:
I’ve tried to set RichText input in Content field as it is describe in MODX 3.2 manual (see original text below). RichText Editor appear in the content area on the page, but there is a pop-up message "Missing news content!" after pressing submit button. And MODx can’t create this new document.
What I miss?
