Take a look at the bakery:
http://bakery.cakephp.org/articles/view/ckeditor-3-x-new-fckeditor-version

Since CKeditor is a js library you can just add it to app/webroot/js
and all the right magic will happen when you include it and attach it
to a textarea.

In regards to routing issues for third party software you can get
around that in a few ways.   Number one, you can drop it into your
webroot folder and then you can navigate to it directly (ie drop
phplist into app/webroot/phplist, then navigate to http://yoursite.com/phplist/.
Number two, you can drop it in your vendors directory and then import
it from within your app somewhere -- App::import('Vendor', 'path/to/
file');

The latter is really for independent php classes that have some
utility you need/want that isn't dependent on cakephp.  Some examples
could be a class to resize an image, paypal's direct payment php
class, etc.. etc..

Hope that helps,
Nick
http://www.webtechnick.com

On Dec 2, 1:57 am, Dave <davewas...@gmail.com> wrote:
> I apologize if my questions is obvious or has been answered before. I
> tried searching for the answer, but I don't know what best to search
> for, mostly likely because I am barely sure of what the terms are for
> the issue I am facing.
>
> I am *very* new to Cake, but I am picking it up pretty quickly. I was
> thinking about trying to build a test blog of sorts. I was thinking it
> would be nice to include a drop-in open source WYSIWYG editor
> (CKEditor, probably) to remove the hassle of coding a blog post in
> html.
>
> But I realized, because Cake maps URL requests other than the actual
> folder structure, the editor script might try to pull up some images
> for its UI and get sent elsewhere. Is this the case? Or do requests
> from the server itself map directly to folders? If the former, any
> suggestions on if it is possible to integrate third party widgets like
> this short of nitty gritty tying them directly to the Cake framework?
>
> I apologize if I am not being very clear - as I said, I feel like I am
> missing some terminology to aptly describe the situation. Let me know
> if I need to be clearer on any points!
>
> Thanks in advance,
> Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to