Here's what I have:
<cfoutput>
<script language="javascript" type="text/javascript"
src="/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
// Notice: The simple theme does not use all options some of
them are limited to the advanced theme
tinyMCE.init({
mode : "textareas",
theme : "simple"
});
</script>
<!-- /tinyMCE -->
</cfoutput>
The form below the js block is used for editing and adding folks, so I
have a conditional setup to set values for editing just above the form.
<cfif IsDefined('fuseaction') AND fuseaction IS 'admin.addfaculty'>
<cfset ID = "" />
<cfelseif IsDefined('fuseaction') AND fuseaction IS
'admin.editfacutly'>
<cfset ID = getfacultymember.ID />
</cfif>
<form action="#self#?fuseaction=#XFA.submitForm#"
name="#ThisFormName#" method="post" onsubmit="return validateForm();">
<input type="hidden" name="id" value="#ID#" />
Here is my text area block:
<textarea id="elm1" name="Res_Summary" rows="10" cols="50">
#Res_Summary#
</textarea>
</form>
All of this resides in an admin directory, structured:
Admin/
fbx_Settings.cfm login code lives in this file and sets a few session
vars, nothing fancy here
dspFacultyForm.cfm where my text area lives
tinymce/jscripts/tiny_mce/tinymce.js
hope this is what you were asking for, pardon the newbness here ;)
Bob
> Ok, so I'm a tad behind on fb, be that as it may, I need some
> help with trying to integrate tinymce or fckeditor into an
> fb3 site.
Please post the full Javascript code block from the generated HTML.
Also, check that you have the correct TinyMCE lines in the header to
load the scripts *and* verify that the URL is correct by copying the URL
out of the <Xcript><!-- lines and paste into your browser - that one has
tripped me up in the past.
Damien McKenna
Web Developer
The LIMU Company
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 &
Flex 2
Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU
Archive: http://www.houseoffusion.com/groups/Fusebox/message.cfm/messageid:6914
Subscription: http://www.houseoffusion.com/groups/Fusebox/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12