CF9 cftextarea, no controls... javascript source is wrong... how do I change it

62 views
Skip to first unread message

Tom Ryan

unread,
Mar 31, 2013, 3:30:30 PM3/31/13
to blo...@googlegroups.com
I've been battling this problem for 2 days. I've scoured the web but I have not found a solution. 

I've relocated FCKEDITOR to my website @ secure/admin/cms/fckeditor...but the javascript source still points CFIDE. 

View Source
<script type="text/javascript" src="/CFIDE/scripts/ajax/package/cfajax.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/ajax/package/cfrichtexteditor.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/ajax/FCKeditor/fckeditor.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>

<CFTEXTAREA name="draft" enabled="no" visible="no" height="1000" width="800" richtext="yes" toolbar="Default" THEBASEPATH="#application.cfroot#/secure/admin/cms/fckeditor/" TOOLBARONFOCUS="no" BINDONLOAD="no">
#draft#
</cftextarea>

Click to see a test using Charlie Arehart's example

Ideas? Your help is greatly appreciated.

Thanks,

Tom

Raymond Camden

unread,
Mar 31, 2013, 8:58:34 PM3/31/13
to blo...@googlegroups.com
This isn't really a BlogCFC-related question, is it?

The attribute you want is basepath, not thebasepath.



--
You received this message because you are subscribed to the Google Groups "BlogCFC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blogcfc+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
===========================================================================
Raymond Camden, Adobe Developer Evangelist

Email : raymon...@gmail.com
Blog : www.raymondcamden.com
Twitter: cfjedimaster

Charlie Arehart

unread,
Apr 2, 2013, 10:33:56 AM4/2/13
to blo...@googlegroups.com

Also, I’m not seeing what I have to do with this, whether with respect to the site you show, that domain, or the ”example”. :-)

Anyway, the references to /CFIDE/scripts are generated by CF itself, driven by the CF Admin “server settings” page value for the field, “Default ScriptSrc Directory”, which defaults to /CFIDE/scripts/. If you’re saying you’ve moved the fckeditor pages, the question is did you also move the rest of the CFIDE/scripts folder? If so, then you’d want to change that CF Admin value to point to the new location.

(You would also need for your web sites to be able to access that new path, whether they are pointing to the real path or using a virtual directory. CF merely creates the HTML that points to the path. You are responsible to make sure that that path works for your web sites.)

HTH.

/charlie

 

From: blo...@googlegroups.com [mailto:blo...@googlegroups.com] On Behalf Of Raymond Camden
Sent: Sunday, March 31, 2013 8:59 PM
To: blo...@googlegroups.com
Subject: Re: [BlogCFC] CF9 cftextarea, no controls... javascript source is wrong... how do I change it

 

This isn't really a BlogCFC-related question, is it?

 

The attribute you want is basepath, not thebasepath.

On Sun, Mar 31, 2013 at 2:30 PM, Tom Ryan <tomq...@gmail.com> wrote:

I've been battling this problem for 2 days. I've scoured the web but I have not found a solution. 



I've relocated FCKEDITOR to my website @ secure/admin/cms/fckeditor...but the javascript source still points CFIDE. 

View Source

<script type="text/javascript" src="/CFIDE/scripts/ajax/package/cfajax.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/ajax/package/cf
richtexteditor.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/ajax/FCKeditor/
fckeditor.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/cfform.js"
></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js">
</script>

<CFTEXTAREA name="draft" enabled="no" visible="no" height="1000" width="800" richtext="yes" toolbar="Default" THEBASEPATH="#application.cfroot#/s
ecure/admin/cms/fckeditor/" TOOLBARONFOCUS="no" BINDONLOAD="no">


#draft#
</cftextarea>

Click to see a test using Charlie Arehart's example

Ideas? Your help is greatly appreciated.

Thanks,

Tom

--
You received this message because you are subscribed to the Google Groups "BlogCFC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blogcfc+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



 

--
===========================================================================
Raymond Camden, Adobe Developer Evangelist

Email : raymon...@gmail.com
Blog : www.raymondcamden.com
Twitter: cfjedimaster

Reply all
Reply to author
Forward
0 new messages