> On Mon, 2006-01-23 at 21:52 -0500, Bob Harner wrote: hi devs
i just played around last weekend, so i didn't do much yet. but it's really exciting that other people on the other side of the planet just started the same. i didn't do anything since the weekend but i will you keep informed if i'm making progress. Bob it would be great if you could post the files you mentioned. BTW: thanks to Bob for the wikipage on how to integrate FCKEdito to lenya 1.2 simon > > Simon & Doug: I do recommend keeping all your changes outside the > directory you dump FCKeditor into (that is, don't modify the > fckconfig.js file at all), as recommended at > http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_File, > , so you can easily upgrade FCKeditor itself later. The trick is to > set your FCKeditor configuration values using the > oFCKeditor.Config["foo"] = "bar" syntax in a separate javascript file > that you invoke from the page that first invokes the editor. > > As you have probably seen, you can set FCKConfig.LinkBrowserURL and > other FCKConfig.*BrowserURL settings in your configuration file, but > FCKeditor expects those URL's to have a certain pattern and > manipulates that URL in ways that require such a pattern. In other > words, if you set: > > oFCKeditor.Config["LinkBrowserURL"] = FCKConfig.BasePath + > 'editor/filemanager/browser/default/browser.html?Connector=connectors/lenya/connector.lenya'; > > then when FCKeditor makes requests back to the server FCKeditor > liberally changes what comes after the ? in that string. In order to > enforce a ?lenya.module={modulenname} argument I believe you will have > to modify FCKeditor. > > The good news is that FCKeditor is designed so that you can replace > the "file browser" portion with your own. It is the file browser code > that formulates these URL's that interact with the server. You can > copy FCKeditor's "default" file browser, in the > editor/filemanager/browser/default/ directory, to a new directory > entirely outside of FCKeditor's directory and then modify it to behave > how you want it to. I have done some of that for Lenya 1.2.4 and will > be posting that code to the Wiki in the next day or two. > > How did you implement the "GetFoldersAndFiles" request, by the way? > My approach was to first handle GetFolders and GetFiles requests > (which use DirectoryGenerator to list the contents of the separate > content and resources directory for the publication) separately, then > I aggregate the GetFolders and GetFiles requests for the > GetFoldersAndFiles requests. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
