Replies Back to Article

Insert / Update with the RTE editor

Thank You !
July 19, 2002 by Doug R

Nice job Bill, thank you! How about another one? Mybe in combination with file upload.

Dot

RE: Thank You !
July 19, 2002 by Bill Chalmers
Thanks for the compliment, at present I am trying to find a good, free, asp only upload script, php is easily doable, but I want to integrate both asp and php upload into the editor, currently I am having no luck finding an asp script to do the upload.
Question about other fields
July 30, 2002 by Tolu Ayoola
I was just wondering if it is possible to use other form fields such as radio buttons, check boxes, and file fields in the RTE editor. By the way, this extension is awesome. thanks
RE: Question about other fields
July 30, 2002 by Bill Chalmers
That is what I am working on currently, adding different types of fields to the editor, I will update the extension when I have developed this, you can of course use different types outside of the editor, just not embedded currently.
Update local-images
August 7, 2002 by Tommi Virtanen

Hi!

Nice code!!
When it's possible to update local-image??

gustavus

RE: Update local-images
August 7, 2002 by Bill Chalmers
Soon, I am still working on it.
RE: RE: Thank You !
August 25, 2002 by Doug R

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

Duplicate Form Fields
October 15, 2002 by John Gallagher

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

RE: Duplicate Form Fields
October 15, 2002 by Bill Chalmers

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.

Problem with frames
May 12, 2003 by Alan Loop

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 !

RE: Problem with frames
May 13, 2003 by Bill Chalmers
When you use frames, the DOM is messed up within the RTE because what before was document.whatever, it now becomes document.frames.whatever, the only solution would be to go through the RTE code and change all the references!!, sorry no easy fix for this one.
bringing up database content within editor
July 27, 2003 by Gary Bortz

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?

RE: bringing up database content within editor
July 31, 2003 by Bill Chalmers
Myself and Gary resolved this by email, the problem had to do with the richtext object being embedded within the form tags, this causes some problems, always make sure the richtext object tag to embed it is not within the form called theForm.
Nice extension but....
September 11, 2003 by Dave Lynes

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?

Adding data (days, month year)
December 7, 2003 by crow gordy

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

fantastic
April 6, 2004 by tom andrews
thanks sooooo much
trhrth
April 20, 2005 by tifenn tbolloch
rhrthrth