[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] FCKeditor file browser feature


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

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.