Hi there,
I’m using the NewsManager and NewsEditor snippet to allow users to easily update a section of their website. I’ve got 90% there but I’m still having a couple of problems.
Ideally I’d like a RTE for the summary
and content of the post. I’ve created 2 TVs: blogContent and blogIntro both rich text Tvs.
These are called in the form:
<div id="ne_wrapper">
<form name="ne_form" method="post" action="[~[*id*]~]" id="ne_form">
<!-- These 2 hidden input fields must be present in any custom NewsEditor form. -->
<input name="NewsEditorForm" type="hidden" value="on" />
<input name="editid" type="hidden" value="[+editid+]" />
<!-- End of mandatory fields. -->
<h3>Add/Edit Blog Post</h3>
<p>Page Title: <input name="pagetitle" id="pagetitle" type="text" size="40" value="[+pagetitle+]" /></label></p>
<p>Article Title: <input name="longtitle" id="longtitle" type="text" size="40" value="[+longtitle+]" /></label></p>
<p><label>Summary:</label> [*blogIntro*]</p>
<p><label >Content:</label> [*blogContent*]</p>
<p><input name="send" type="submit" value="Save" class="button" />
<input name="reset" type="reset" value="Reset" class="button" /></p>
</form>
</div>
and my NewsEditor call is as follows:
!NewsEditor? &folder=`2` &postid=`2` &canpost=`Blog Admins` &aliastitle=`1` &clearcache=`1` &formtpl=`ne_form` &rtcontent=`tvblogContent` &rtsummary=`tvblogIntro` !]
It’s giving me one RTE for the main content, but nothing for the Summary. I’m sure its an issue with the rtsummary parameter but I don’t really understand how this works. If I remove the content textarea altogether I do get a RTE for the summary but it doesn’t seem to want to put two on the one page.
All help appreciated!