Replies Back to Article
Insert / Update with the RTE editor
Nice job Bill, thank you! How about another one? Mybe in combination with file upload.
Dot
Hi!
Nice code!!
When it's possible to update local-image??
gustavus
Bill, when I use the editor on an insert page, I can use my own submit button at the bottom of the form. However when I use it with an update page, the text field will NOT update. All other fields I add seperately from the editor update, but the text field. I can't see andy difference in the code. What am I missing?
Dot
Hi All,
I have been following this tutorial and I seem to have a problem.
When I insert the extra form fields (Bill used Forename and Surname, I used different names but made sure the coding was ok.) I get t sets of fields. The fields are in the editor section and also at the bottom of my page. One is a checkbox and it displays as a form field in the editor and as a checkbox at the bottom of my page.
Does anyone know why I get 2 sets of fields, and can I use checkboxes in the editor.
Very Strange !!!!
John
This is on purpose, the ones embedded into the editor are a direct copy of the ones at the bottom of the form, when the user finishes editing and clicks post, the contents of the editor and all fields embedded into the editor are copied to the external fields(ones at the bottom), even the maintext is copied into the text field, this is because the richeditor is embedded into a page and simply submitting it wouldnt work, the only way for it to work is to get the contents of the editor on submit and copy the data to the form fields in the page where the richeditor is embedded then submit that page, this shouldnt cause a problem because the form fields in the external page should have a css style of display:none, but at the moment there is a bug which when this css style is applied it also hides the embedded fields, the only way around it is to make the editor height 100% until I fix this.
Email me if you need further clarification.
Hello,
I use your extension, and everything seems very good (isert, update records) when I test it without frame, and when the page load trough a frameset, i've a script error on line 348 of the file "richedit.html"
Maybe someone can help me ?
PS: Thanks Bill, it's already a very good extension !
I am trying to use the RTE editor when updating a database record but the content of the database field is not showing up in the editor text box. I am binding the database field to the text field of the form as directed:
<textarea name="text" style="display:none" rows="1" cols="20" "><%=(rsEdit.Fields.Item("linkdesc").Value)%></textarea>
But the editor text box is blank. All of the other fields are successfully bound to the form. If I retype a description, the update works fine.
The version I am using is RTE Editor Version rt-0.2.4
Any ideas why this is not working?
I'd like to be able to insert a file field in the IMAGE popup window so I can BROWSE for the image.
Is this possible?
Hello,
I would like to add the date of pubblication on each articles written using the RTE editor.
I am using an INT field in database and a form with 3 fields (month, day, year) for storing the datetime, and I need to explode it with $data = mktime("0", "0", "0", $month, $day, $year).
Actually I wasn't able to do this with RTE Editor. Any helps?
Thank you.
Rob