Re: FCKEditor config file

2010-01-21 Thread Mike Kear
In that case you need to set the value of fckEditor.value = "#resultOfButtonClick#"; to the result you want in the editor. That has to happen before you create the editor which is the last step at fckEditor.create(); Does that make sense? Cheers Mike Kear Windsor, NSW, Australia Adobe Certi

Re: FCKEditor config file

2010-01-21 Thread Kim Hoopingarner
OK - stumped again. I need to move a value into the editor when a button is clicked. I retrieve that value from the database - and then set the editor equal. But it keeps returning blank - and I know a value is being returned from the cfinvoke. I've tried this... fo

Re: FCKEditor config file

2010-01-21 Thread Kim Hoopingarner
I got it to work by doing this. :) YE! Thank you for getting me on the right track! fckEditor = createObject( "component", "/CFIDE/scripts/ajax/FCKEditor/fckeditor" ); fckEditor.Config["CustomConfigurationsPath"] = "#session.root#/js/FCKEditor_configCMS.js"; fckEditor.instanceName = "int

Re: FCKEditor config file

2010-01-21 Thread Mike Kear
OH yea sorry. In that site, I instantiate all CFCs with a gizmo called a bean factory.I should have changed it to the more regular syntax you use to instantiate cfcs: fckeditor = createobject("component","forms.fckeditor.fckeditor"); This assumes that you have a file called fckeditor.cfc s

Re: FCKEditor config file

2010-01-21 Thread Kim Hoopingarner
I get this error:Element BEANFACTORY is undefined in a Java object of type class. I'm sure this is something simple to fix? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fus

Re: FCKEditor config file

2010-01-21 Thread Kim Hoopingarner
Thank you! Giving it a try now. I knew someone would have an answer. :) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusio

Re: FCKEditor config file

2010-01-21 Thread Mike Kear
Yes you can have an external config file, unique to your own situation OUTSIDE the FCEditor folder. The usual reason he wouldnt want to touch the config file is because when there's a new version, he'll have to tweak it all over again. They have a way around that. In addition to the config fi

FCKEditor config file

2010-01-21 Thread Kim Hoopingarner
I have a client that needs to have a specific toolbar for the editor - but doesn't want to make the change in the config file. Do you know any tricks out there to accomplish this? H ~| Want to reach the ColdFusion co