Path to ckeditor

Archived from the Xataface Users forum.

randallwright — Wed May 18, 2011 2:51 pm

Hello folks…

I have setup Xataface and really like it but am unable to find where I specify the path to ckeditor or if I can just drop it into a specific directory.

Thanks!
Keep up the good work.


shannah — Wed May 18, 2011 2:57 pm

Can you elaborate on what you are trying to do? You generally don’t need to set the path to it as Xataface takes care of this for you.

-Steve


randallwright — Wed May 18, 2011 3:06 pm

Thanks for the quick reply…

Hy host does not have ckeditor installed and I have had to upload it myself. How do I get Xataface to locate it?


randallwright — Wed May 18, 2011 3:08 pm

Oh, and I did a manual install if that has anything to do with it.


shannah — Wed May 18, 2011 3:21 pm

This is likely to do with the 2nd parameter of df_init()
If FCKEditor is not loaded from the same domain, it just comes up blank (XSS issues). Try not using the full domain in the 2nd parameter of df_init()
e.g.
df_init(__FILE__, ‘xataface’);
or
df_init(__FILE__, ‘path/to/xataface’);
or
df_init(__FILE__,’/path/from/docroot/to/xataface’);
instead of
df_init(__FILE__, ‘http://www.example.com/path/to/xataface’);

-Steve


randallwright — Wed May 18, 2011 3:42 pm

You rock!

Thank you so much for the VERY quick solution!