I am looking for some people who have used the FCKEditor along with the
ColdFusion capabilities that come with it. Right now our cms system only has
ActiveEdit built into it and I would like to change that because users are
limited to IE (boo). I have everything setup in our cms so that the editor
works great and uses a specific folder that is controlled on a per
application basis using the following

<!--- fckEditor --->
<cfset application.FCKeditor = StructNew()>
<cfset application.FCKeditor.userFilesPath =
"#application.ApplicationName#/myfolder">

Now that the editor is working and I have been able to configure the
filebrowser and image uploader I have a couple of questions.

1.) If a user wanted to add an image they can just click on the image icon.
This works great but what if they wanted to link to
a pdf document, where is a general filebrowser button?
2.) When you get to the filebrowser there is a drop down of folders.
Image,Flash,Media,File. Does anyone know how to customize this list? If i
just change the list
below it does not work, I have also tried in a couple other places but can
not find the answer.

    config.allowedExtensions = structNew();
    config.deniedExtensions = structNew();

    // config.allowedExtensions["File"] =
"doc,rtf,pdf,ppt,pps,xls,csv,vnd,zip";
    config.allowedExtensions["file"] = "";
    config.deniedExtensions["file"] =
"php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi";

    config.allowedExtensions["image"] = "png,gif,jpg,jpeg,bmp";
    config.deniedExtensions["image"] = "";

    config.allowedExtensions["flash"] = "swf,fla";
    config.deniedExtensions["flash"] = "";

    config.allowedExtensions["media"] =
"swf,fla,jpg,gif,jpeg,png,avi,mpg,mpeg,mp3,mp4,m4a,wma,wmv,wav,mid,midi,rmi,rm,ram,rmvb,mov,qt";
    config.deniedExtensions["media"] = "";


3.) Finally, does anyone know an easy way of adding custom buttons? I have
looked around and can not find anything on this. I have a cfm page
in each applications root that I would like to be able to open.

Any help with this would be great!!!

-- 
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284637
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to