> Are any of you using WebEditPro?
>
> Would any of you be available to answer some questions?
>
> I've been wrestling with this thing for weeks. I find the documentation
> seriously lacking. Support has been OK, but the answers are
> generally not
> much clearer than the documentation.
>
> Right now I'm at the point where I want to create a new document
> and/or add
> an existing HTML document to the ones available for editing through
> WebEditPro and I just can't figure out how to do it. The answer
> I got from
> support yesterday really wasn't clear and of course, it's the
> weekend now,
> so they're not available.
Hi Howard,
Let me see if I can help. The form the contains the editor is posted the
contents of the editor are copied (via JS) to a hidden field. You treat this
hidden field as you would any other. Say for instance when setting up the
custom tag you set the ReturnField attribute equal to doc_text. On the page
that you posted to you can write standard SQL or CFFile statements to act on
the posted information, like so:
QUERY
<cfquery datasource="myDSN" name="qi_newdoc">
INSERT INTO wysiwyg (edit_title, edit_html)
VALUES ('#form.edit_title#', '#form.doc_text#')
</cfquery>
or
CFFILE
<cfset myFile = "c:\somedir\mypage.html">
<cffile action="WRITE" file="#myFile#" output="#form.doc_text#">
Let me know if this helps,
Duane Boudreau
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists