Integrating CKEditor

Hi folks, advice please...

 

I want to integrate CKEditor into some of my pages... it looks a lot better than what I'm using at the moment and I see from searching here a few other people have tried it successfully. Having downloaded it, there seem to be a huge number of dependent files spread around a whole bunch of sub folders, and it clearly wants to be able to access them all by building its own URLs off its own start point.

 

Simple question... how can I easily load all that file structure into Squiz assets in such a way the URLs will work out the way it wants? Up till now I've only used components that required a half dozen files and I've created them all manually in the right hierarchy but thats just going to take way too long for CKEditor.

 

I guess I want a way of just loading a whole "zip" structrue - similar to what you can do under a CSS design file. And presumably need a way to tell Squiz to set them up in such a way they get served direct from the web server for best performance?

 

Thanks!

Hi folks, advice please...

 

I want to integrate CKEditor into some of my pages... it looks a lot better than what I'm using at the moment and I see from searching here a few other people have tried it successfully. Having downloaded it, there seem to be a huge number of dependent files spread around a whole bunch of sub folders, and it clearly wants to be able to access them all by building its own URLs off its own start point.

 

Simple question... how can I easily load all that file structure into Squiz assets in such a way the URLs will work out the way it wants? Up till now I've only used components that required a half dozen files and I've created them all manually in the right hierarchy but thats just going to take way too long for CKEditor.

 

I guess I want a way of just loading a whole "zip" structrue - similar to what you can do under a CSS design file. And presumably need a way to tell Squiz to set them up in such a way they get served direct from the web server for best performance?

 

Thanks!

 

You need to not use Matrix for this step. Instead, put the CKEditor folder on your webserver, and setup a new Apache Alias for something like /editor or whatever you want. Then, all of your files for CKEditor will be hosted from www.yoursite.com/editor. It makes it much easier this way, and all of the linking will work how CKEditor wants it to.

Thanks Nic! I guess I need to go figure out more about how to configure Apache... when I'm not using Squiz I'm more used to IIS on Windows Server. Once I get it going it probably makes sense for me to set up a whole "components" sub-folder strucure for some of the other little utilities I've been using and any future ones since that sounds a lot easier than creating Squiz assets for stuff.

I assume Nic is meaning:

Alias /editor /path/to/fckeditor

 

which is placed under the vhost entry in Apache