Re: Global FCK Editor

2006-11-17 Thread Rick Root
Bobby Hartsfield wrote:
 Im sure but I doubt it could be done without actually editing FCKEditor
 code. If I can keep the edits to a minimum, I would consider it but I'd MUCH
 rather not edit any of the source since it would need to be done with each
 upgrade.

Shouldn't have to edit the FCKeditor code at all.

You use the cfc instantiation to modify editor options, rather than 
editing the fckconfig.js file.  You might have to make changes to the 
file manager pieces, but in my world I use CFFM instead of the built in 
file manager, because CFFM is more powerful.

Rick

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Global FCK Editor

2006-11-17 Thread Bobby Hartsfield
So I can change the file paths per use within the cfc instantiation? I did
not know that :-)

Is it possible to override the rest of the settings in the fckconfig.js file
from there as well?

I'm being lazy and haven’t tried any of this yet. Hoepfully I can get the
time today though.

Thanks for the tips



It's very rare that we need to give soemone the full capabilities of file
management (even more rare that we allow them to upload anything with
fckeditor). Normally it's just an image here and there, a PDF or word doc
and the occassional audio or video commercial spots. I normally just write
those uploaders myself in a couple of minutes.

..:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

 


-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 17, 2006 8:10 AM
To: CF-Talk
Subject: Re: Global FCK Editor

Bobby Hartsfield wrote:
 Im sure but I doubt it could be done without actually editing FCKEditor
 code. If I can keep the edits to a minimum, I would consider it but I'd
MUCH
 rather not edit any of the source since it would need to be done with each
 upgrade.

Shouldn't have to edit the FCKeditor code at all.

You use the cfc instantiation to modify editor options, rather than 
editing the fckconfig.js file.  You might have to make changes to the 
file manager pieces, but in my world I use CFFM instead of the built in 
file manager, because CFFM is more powerful.

Rick



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Global FCK Editor

2006-11-16 Thread Rick Root
Bobby Hartsfield wrote:
 I don’t know about the rest of you but I am SICK of seeing 40 copies of FCK
 editor on a server :-)


put FCKeditor in its own directory

C:\Inetpub\fckeditor

Set a coldfusion mapping *AND* an IIS mapping to that directory, call 
each fckeditor

Disable fckeditor's built in file manager stuff.  Delete it completely 
from the directory structure.

Use the fckeditor.cfc to integrate with your coldfusion apps, and 
optionally set the parameters to use a local copy (per application) of 
CFFM to handle file management.

There's probably even a way to use a shared copy of CFFM for file 
management.

Rick

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Global FCK Editor

2006-11-16 Thread Ray Champagne
Nothing intelligent to add to this conversation, I just wanted to express a
me too.  This sounds like an great idea.  I'd love to know if this has
been done by anyone.

 -Original Message-
 From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 16, 2006 1:24 PM
 To: CF-Talk
 Subject: Global FCK Editor
 
 I don't know about the rest of you but I am SICK of seeing 40 copies of
FCK
 editor on a server :-)
 
 
 
 I was thinking we could drop the editor in a globally accessible directory
 and give it a mapping then call it from there in all other applications.
The
 only problem that we foresee (so far) is file uploads. They would need to
be
 in directories unique to the application that uploaded them.
 
 
 
 More often than not, we want to give the functionality of the editor
without
 the file upload capabilities so we will at least set up a global editor
that
 doesn't allow it.
 
 
 
 It would definitely cut down on the HD space used to house FCK editors all
 over the place and make it MUCH easier to upgrade to newer versions in the
 future.
 
 
 
 The only other issue we can think of would be styles but we would probably
 just set up a few default configurations and stick to them.
 
 
 
 Has anyone else set up something similar and if so did you run into any
 other problems and were you able to solve the file upload problems?
 
 
 
 ..:.:.:.:.:.:.:.:.:.:.:.
 
 Bobby Hartsfield
 
 HYPERLINK http://acoderslife.comhttp://acoderslife.com
 
 
 
 
 
 
 
 
 --
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.5.430 / Virus Database: 268.14.6/535 - Release Date: 11/15/2006
 3:47 PM
 
 
 
 
 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Global FCK Editor

2006-11-16 Thread Cutter (CFRelated)
can't you set the file path as an application scope variable that is 
then used by the FCKEditor? Or maybe adjust the cfc to take a param?

Cutter
__
http://blog.cutterscrossing.com

Bobby Hartsfield wrote:
 I don’t know about the rest of you but I am SICK of seeing 40 copies of FCK
 editor on a server :-)
 
  
 
 I was thinking we could drop the editor in a globally accessible directory
 and give it a mapping then call it from there in all other applications. The
 only problem that we foresee (so far) is file uploads. They would need to be
 in directories unique to the application that uploaded them.
 
  
 
 More often than not, we want to give the functionality of the editor without
 the file upload capabilities so we will at least set up a global editor that
 doesn’t allow it.
 
  
 
 It would definitely cut down on the HD space used to house FCK editors all
 over the place and make it MUCH easier to upgrade to newer versions in the
 future.
 
  
 
 The only other issue we can think of would be styles but we would probably
 just set up a few default configurations and stick to them.
 
  
 
 Has anyone else set up something similar and if so did you run into any
 other problems and were you able to solve the file upload problems?
 
  
 
 ..:.:.:.:.:.:.:.:.:.:.:.
 
 Bobby Hartsfield
 
 HYPERLINK http://acoderslife.comhttp://acoderslife.com
 
  
 
  
 
  
 
 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Global FCK Editor

2006-11-16 Thread Rick Root
Cutter (CFRelated) wrote:
 can't you set the file path as an application scope variable that is 
 then used by the FCKEditor? Or maybe adjust the cfc to take a param?


That wouldn't work for the fckeditor file manager because coldfusion 
would process the application.cfm based on the physical location of the 
file manager files - not the web server virtual mapped location.. I think.

I've never tried it.

I actually have 4 different web sites on my server at work using 
FCKEditor as the content editor.. perhaps I'll try fudging around with 
using a shared FCKeditor this weekend.

Rick

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Global FCK Editor

2006-11-16 Thread Bobby Hartsfield
Ya know, I've never even LOOKED at CFFM *ducks* hey who threw that? ;-)

I'll have to go check it out.

..:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 2:35 PM
To: CF-Talk
Subject: Re: Global FCK Editor

Bobby Hartsfield wrote:
 I don’t know about the rest of you but I am SICK of seeing 40 copies of
FCK
 editor on a server :-)


put FCKeditor in its own directory

C:\Inetpub\fckeditor

Set a coldfusion mapping *AND* an IIS mapping to that directory, call 
each fckeditor

Disable fckeditor's built in file manager stuff.  Delete it completely 
from the directory structure.

Use the fckeditor.cfc to integrate with your coldfusion apps, and 
optionally set the parameters to use a local copy (per application) of 
CFFM to handle file management.

There's probably even a way to use a shared copy of CFFM for file 
management.

Rick



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Global FCK Editor

2006-11-16 Thread Bobby Hartsfield
Im sure but I doubt it could be done without actually editing FCKEditor
code. If I can keep the edits to a minimum, I would consider it but I'd MUCH
rather not edit any of the source since it would need to be done with each
upgrade.

..:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

 

-Original Message-
From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 2:49 PM
To: CF-Talk
Subject: Re: Global FCK Editor

can't you set the file path as an application scope variable that is 
then used by the FCKEditor? Or maybe adjust the cfc to take a param?

Cutter
__
http://blog.cutterscrossing.com

Bobby Hartsfield wrote:
 I don’t know about the rest of you but I am SICK of seeing 40 copies of
FCK
 editor on a server :-)
 
  
 
 I was thinking we could drop the editor in a globally accessible directory
 and give it a mapping then call it from there in all other applications.
The
 only problem that we foresee (so far) is file uploads. They would need to
be
 in directories unique to the application that uploaded them.
 
  
 
 More often than not, we want to give the functionality of the editor
without
 the file upload capabilities so we will at least set up a global editor
that
 doesn’t allow it.
 
  
 
 It would definitely cut down on the HD space used to house FCK editors all
 over the place and make it MUCH easier to upgrade to newer versions in the
 future.
 
  
 
 The only other issue we can think of would be styles but we would probably
 just set up a few default configurations and stick to them.
 
  
 
 Has anyone else set up something similar and if so did you run into any
 other problems and were you able to solve the file upload problems?
 
  
 
 ..:.:.:.:.:.:.:.:.:.:.:.
 
 Bobby Hartsfield
 
 HYPERLINK http://acoderslife.comhttp://acoderslife.com
 
  
 
  
 
  
 
 



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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