FCKeditor is now the editor for mojoPortal

I made the switch tonight to FCKeditor becuase it seems plenty good to me and its totally open source unlike FreeTextBox.  Besides I've been having errors on monoForge with the FreeTextBox as of mono 1.1.3 but it could be a configuration issue I suppose since the mono guys say it works for them. Weird thing is the same code has been running fine for a long time on previous versions of mono. Anyway this is my first post with the new editor. FCKeditor is mostly javascript with a very small .NET wrapper whereas the FreeTextBox dll is 136kb which is almost as big as the mojoPortal.Web.dll for my whole site which is at 200kb currently. Not that size matters that much but interesting differences.

Next up on the development front is a Contact Form module so people can send me e-mail without knowing my address. Thats the last piece I need before I can migrate my JoeAudette.com site to mojoPortal from Rainbow.

After that I've got an idea for a more safe version of the File Manager. I'm not getting rid of the current one by any means but its a true file manager and it is very risky to expose the file system so directly, it should only be available to server administrators and developers.  The one I'm developing for normal users will provide a very similar user experience but the folders and file names will be database driven and the actual files will be managed on disk by the system in a safe way with the ability to prevent un-authorised download of files posted by users.  I will store all the files on disk in one folder, but the files will not be stored with their original names. They will be named Guid.ToString() + ".config" and the file name will be stored in the db along with the original file name which will be displayed to the user. This will prevent the files from being downloaded directly via http requests without any special server configuration because the server is already configured not to serve .config files. There will be virtual folders with a FolderID, ParentID, Name structure and the files can be assigned a FolderID. This should be enough to present the user with a normal file system like experiance. This will be a replacement for the Documents module.

I'm shooting for another release this sunday evening with the contact form and new editor.

Comments

re: FCKeditor is now the editor for mojoPortal

Thursday, December 16, 2004 4:02:31 PM
Hey Joe, I've been thinking about trying FCKeditor, too. I tried it in the past, but had a hard time with the .NET wrapper. Is there anything I should know before I try integrating this into my own portal? Also, are you using the picture insert/browser, and how is that implemented? Hope all is well!
joe

re: FCKeditor is now the editor for mojoPortal

Friday, December 17, 2004 1:58:57 AM
I looked at the picture insert stuff last night and it doesn't look too hard there is an aspx page stubbed out that must be implemented to return xml representing the files and folders to support it. I'm going to try and get it working this weekend. I'll post again after that. I think I need to change my Gallery to store thumbnails, web images and full size images in different sub folders so that I can easily browse just web images from the editor without being confused which one to pick. I may store the images uploaded by the editor in another separate folder too.
joe

re: FCKeditor is now the editor for mojoPortal

Friday, December 17, 2004 7:19:47 AM
As far as using the wrapper, its pretty straight forward, the dll goes into the bin and you register the tag prefix as usual and in the code behind you assign a few properties most important is the Base directory so it knows where to get the other stuff it needs.
joe

re: FCKeditor is now the editor for mojoPortal

Saturday, December 18, 2004 10:42:57 AM
Actually, it turned out that you don't have to implement anything for the image browse functionality, its all in the wrapper in the FileBrowserConnector.cs class. I did have to modify it a little though. I changed the DEFAULT_USER_FILES_PATH constant and also modified it to fix some of the folder and url mapping logic. I suspect it would have worked out of the box if my project was under inetpub/wwwroot. I had to fix it to get the correct site root based on the application path. I'll probably try to get the upload feature working tomorrow. Although the dialog box shows the upload button, it is turned off by default in the fckconfig.js file. I also made a custom html file for the image browse because it was browsing by name which is not very useful when the names are all guids. I made it show thumbnails instead.
joe

re: FCKeditor is now the editor for mojoPortal

Sunday, December 19, 2004 2:44:15 AM
The Upload and Folder creation work! I don't know why I assumed they wouldn't. I guess the fixes I made to the path code for the file browsing also made it possible for this code to work. FCKeditor is pretty cool! I was also wrong about file upload being turned off by default. There is a setting in the fckconfig.js that would lead me to believe its turned off but it works in spite of the setting.
unknown

re: FCKeditor is now the editor for mojoPortal

Saturday, June 9, 2007 1:42:13 AM
unknown

re: FCKeditor is now the editor for mojoPortal

Saturday, June 9, 2007 1:42:17 AM
unknown

re: FCKeditor is now the editor for mojoPortal

Saturday, June 9, 2007 1:42:21 AM
Comments are closed on this post.