Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

activedit 1

Status
Not open for further replies.

Sarky78

Programmer
Oct 19, 2000
878
GB
I have heard a rumor that there is a product very similar to activedit that uses just DHTML and javascript. Does anyone know of such a product ??
 
I haven't heard that, but I am looking for one right now. Let me know if you find one... nfalcone@orangetwine.com

Thanks
 
Hi,

@arperry - did you get it work on Coldfusion?

if yes, would you be so kind to tell me, how much work was it to get it work?

sl,
Innu

PS: it looks really great!
 
We did finally get version 2 to work, but version 2.5 we have not got to work as yet. We have found that version 2 is a bit on the buggy side, some days it will work and other days it won't and it is the same code all the time. We have now implimented a cross platform version, that is done using HTML and Javascript that works quite well, its not as fancy but it does the job. We had problems with the location of the include files, it wouldn't pick up the centeral directory off the server so we had to create a directory on each website and point the include file reference at that.


have a look at this as an alternative, its free and quite easy to implement !
 
I'm sorry, but I've really no reason to get it work, to save it in a table!

Ok, i can implemte the editor, but, what have i to do, if I want to save it?
 
to get the information that is entered into the activedit component into a database (I assume this is what you want to do!) set the type attribute to form, and then set the fieldname attribute to something fieldname="activeditcontent"

This will then be returned as a form element when the form is submitted allowing you to enter the contents into a datbase table in the usual way. something like this:

<cf_activedit fieldname=&quot;requiredReport&quot; inc=&quot; image=&quot;true&quot; imagepath=&quot;e:\mydirectory\&quot; imageurl=&quot; allowtable=&quot;false&quot; cutcopypaste=&quot;false&quot; redoundo=&quot;false&quot; type=&quot;form&quot; upload=&quot;false&quot; onsave=&quot;close&quot; width=&quot;583&quot;>
#ParagraphFormat(GetReport.Report)#</cf_activedit>
 
I'm sorry, I think I'm just a bloody beginner.

I've already troubles with the beginning. I have the editor. The editor is an <IFRAME>, where i can manipulate the content.

I don't need the images-option for example. Only text manipulation.

I want to save the pure html text into my table. - so I only need something like a textarea, but I need the iframe to run this editor.

How can I solve it?

How does the iframe-thing work? I didn't find anything, that helps me... :-(

maybe you have an answer 4 me,

sl,
Innu
 
the iframe is a funny one it took me a while to figure it out. what we did was to have a file as the source of the iframe (that is assuming that the browser will support i frame if it doesn't the it will display alternate content)

this file contains the content that you want to be in the iframe for manipulation. so something like this-

<IFRAME WIDTH=&quot;542&quot; HEIGHT=&quot;350&quot; SRC=&quot;../file.cfm?ID=<cfoutput>#id#</cfoutput>&quot; ID=&quot;idContent&quot;></IFRAME>

the template file.cfm will contain a query that we then output. the output is the only informaiton that goes into the iframe content window.

on the form that the content editor is embedded on we have got a hidden field, when the user clicks form submit button
that field is populated with the contents of the iframe informaton so that it is a form element and can then be added into the db using a '#form.hiddenfield#'.

i just changed the save javascript command slightly from the original to do the writing of iframe information to the form element.

hope this helps a bit !

 
I think thats my solution.

I'll try it later - but I think thats the way it goes.

Thank you very much for your help!

cu,
Innu
 
Innu

That looks quite good, have just downloaded it and get an error so i think i will wait until the final release ir unti i have got some more time to play around with it and find out what the problem is. looks nice though, quite a few nice improvements !!!

cheers for the info

Tony
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top