Re: switch from siteObject to FCKEditor
Another one to look at is: http://tinymce.moxiecode.com/ On 21/05/06, Pete Jordan <[EMAIL PROTECTED]> wrote: > Pete Ruckelshaus wrote: > > > Really? Is that in the documentation somewhere, or can you provide a > > code sample? Also, any idea if it's possible to specify the image > > file upload path dynamically? I'm building a simple blog app and want > > to allow users to upload to their own directories. > > I'm not going to promise any sort of useful details here because I know, > from past experience, that I'm not going to find the time to package > code up in a form in which it can be usefully shared (I owe apologies to > people here and elsewhere for promises unfulfilled in the past). > > Anyhow, that said (and with the added proviso that due to tuit shortage > we're still working on RC2 here), I really don't see where the issues > lie with toolbar customisation: you can define as many toolbar sets as > you like in fckconfig.js and both the supplied custom tag and CFC allow > you to select the things per editor instance. > > For image upload directories, you'll have to get your hands dirty to an > extent. I've pretty much rewritten the connectors from scratch here as > we've integrated fckeditor into our (mod_perl/PerlMagick based) image > auto resizing and processing code, so our code isn't likely to be of > much direct use to you, but the connectors are where you'll need to delve. > > The standard (Application|Server).userFilesPath base isn't a lot of use. > We've recoded that to (1) pick up userFilesPath more flexibly - we check > Request, Session, Application, Client and Server in that order - and (2) > allow userFilesPath to be a hash, keyed on connector type ('File', > 'Image' &c) so different media can live in entirely different places. > > If that doesn't give you enough flexibility, then you're likely into > more significant hacking - passing paths into the fckeditor js code and > back out to the connectors in the xmlhttprequest. It's not rocket > science, but you'll need to spend a bit of time sussing out how the > protocols work as standard first. We've not needed to do this, but > having crawled through the relevant code for other reasons, I don't > think it would be difficult. > > -- > Regards, > > Pete Jordan > Horus Web Engineering Ltd > http://www.webhorus.net/ > phone: +44 1275 543971 > mobile: +44 7973 725120 > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241113 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: switch from siteObject to FCKEditor
Pete Ruckelshaus wrote: > Really? Is that in the documentation somewhere, or can you provide a > code sample? Also, any idea if it's possible to specify the image > file upload path dynamically? I'm building a simple blog app and want > to allow users to upload to their own directories. I'm not going to promise any sort of useful details here because I know, from past experience, that I'm not going to find the time to package code up in a form in which it can be usefully shared (I owe apologies to people here and elsewhere for promises unfulfilled in the past). Anyhow, that said (and with the added proviso that due to tuit shortage we're still working on RC2 here), I really don't see where the issues lie with toolbar customisation: you can define as many toolbar sets as you like in fckconfig.js and both the supplied custom tag and CFC allow you to select the things per editor instance. For image upload directories, you'll have to get your hands dirty to an extent. I've pretty much rewritten the connectors from scratch here as we've integrated fckeditor into our (mod_perl/PerlMagick based) image auto resizing and processing code, so our code isn't likely to be of much direct use to you, but the connectors are where you'll need to delve. The standard (Application|Server).userFilesPath base isn't a lot of use. We've recoded that to (1) pick up userFilesPath more flexibly - we check Request, Session, Application, Client and Server in that order - and (2) allow userFilesPath to be a hash, keyed on connector type ('File', 'Image' &c) so different media can live in entirely different places. If that doesn't give you enough flexibility, then you're likely into more significant hacking - passing paths into the fckeditor js code and back out to the connectors in the xmlhttprequest. It's not rocket science, but you'll need to spend a bit of time sussing out how the protocols work as standard first. We've not needed to do this, but having crawled through the relevant code for other reasons, I don't think it would be difficult. -- Regards, Pete Jordan Horus Web Engineering Ltd http://www.webhorus.net/ phone: +44 1275 543971 mobile: +44 7973 725120 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241071 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: switch from siteObject to FCKEditor
On 5/21/06, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote: > > Really? Is that in the documentation somewhere, or can you provide a > code sample? Also, any idea if it's possible to specify the image > file upload path dynamically? I'm building a simple blog app and want > to allow users to upload to their own directories. > > I'll get my husband to pop along and answer this - he did all the work on this :) -- mac jordan home: www.kestrel.org work: www.webhorus.net them: www.jordan-cats.org ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241068 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: switch from siteObject to FCKEditor
Really? Is that in the documentation somewhere, or can you provide a code sample? Also, any idea if it's possible to specify the image file upload path dynamically? I'm building a simple blog app and want to allow users to upload to their own directories. Pete On 5/20/06, mac jordan <[EMAIL PROTECTED]> wrote: > On 5/20/06, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote: > > > > I switched from soEditor to FCK a while back and couldn't be happier. > > soEditor's extremely slow release cycle was what finally drove me away > > from their product. > > > ditto > > > My only complaint about FCK is that there's not an easy way to have > > multiple toolbar configurations for a single site. > > > > er - yes you can. We have different toolbars depending on who's logged in > on one site! > > > -- > mac jordan > home: www.kestrel.org > work: www.webhorus.net > them: www.jordan-cats.org > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241053 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: switch from siteObject to FCKEditor
On 5/20/06, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote: > > I switched from soEditor to FCK a while back and couldn't be happier. > soEditor's extremely slow release cycle was what finally drove me away > from their product. ditto My only complaint about FCK is that there's not an easy way to have > multiple toolbar configurations for a single site. > > er - yes you can. We have different toolbars depending on who's logged in on one site! -- mac jordan home: www.kestrel.org work: www.webhorus.net them: www.jordan-cats.org ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241041 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: switch from siteObject to FCKEditor
I switched from soEditor to FCK a while back and couldn't be happier. soEditor's extremely slow release cycle was what finally drove me away from their product. My only complaint about FCK is that there's not an easy way to have multiple toolbar configurations for a single site. Pete ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241040 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: switch from siteObject to FCKEditor
Dwayne, FCK comes with its own CF code for creating an fck instance, as well as a cfc. It really couldn't be easier. -nathan strutz http://www.dopefly.com/ On 5/19/06, Dwayne Cole <[EMAIL PROTECTED]> wrote: > > IE 7 does not appear to support SiteObject Lite. I am planning to switch > to FCKEditor. > > To invoke a siteObject editor I would just use a custom tag but I can not > find such a tag for FCKEditor. Is there a coldfusion custom tag to make > configuring (look, feel, options) the FCKEditor easier. > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241029 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: switch from siteObject to FCKEditor
No need for a custom tag. Setting up FCKEditor is a breeze (just remember to set the coldFusion connector for image uploading. You can essentially copy the ColdFusion example in the download. - Brian Rinaldi Blog- http://www.remotesynthesis.com/blog CF Open Source List - http://www.remotesynthesis.com/cfopensourcelist Boston CFUG - http://www.bostoncfug.org On 5/19/06, Dwayne Cole <[EMAIL PROTECTED]> wrote: > > IE 7 does not appear to support SiteObject Lite. I am planning to switch > to FCKEditor. > > To invoke a siteObject editor I would just use a custom tag but I can not > find such a tag for FCKEditor. Is there a coldfusion custom tag to make > configuring (look, feel, options) the FCKEditor easier. > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241011 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54