[ic] FCKeditor file browser feature

Jure Kodzoman jure at plsavez.hr
Tue Aug 29 09:58:34 EDT 2006


On Mon, 2006-08-28 at 13:20 -0400, Randy Moore wrote:
> Hi,
> 
> I've been using the fck editor widget recently.  I see in the CVS notes 
> mention integrating the file browser component as a TODO item.

I just looked over FCK Editor installation notes, and i think if you
want to get it up and running, you should do the following:

1. Add this to your head

  <head>
    <script type="text/javascript" src="/FCKeditor/fckeditor.js"></script>
    <script type="text/javascript">
      window.onload = function()
      {
        var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
        oFCKeditor.BasePath = "/FCKeditor/" ;
        oFCKeditor.ReplaceTextarea() ;
      }
    </script>
  </head>

2. In mv_metadata field "extended" write id=MyTextarea or whatever you name your FCKeditor. This would be the simplest way to put it in.

I found this code on http://wiki.fckeditor.net/Developer%
27s_Guide/Integration/Javascript .

This is the same way I integrated TinyMCE. If you don't have some really
advanced use for it, it should suffice.

Jure Kodzoman



More information about the interchange-users mailing list