Genii Weblog
Show and Tell Thursday - Integrating web editor with Domino (without CoexEdit)
Thu 23 Feb 2006, 10:05 AM
Tweetby Ben Langhinrichs
As part of my presentation at the EntwicklerCamp 2006, I created a database that demonstrates how to integrate FCKeditor, a very powerful open source WYSIWYG web editor, with Domino, including the ability to import local images, attach files, and even create doclinks, all without the need for CoexEdit. All for free (as in beer, which usually isn't). Of course, because it doesn't use CoexEdit, this is a web only solution and has a few other implications I will get into, but it is still a fairly awesome and easy to use integration. I decided it would be good to share it with you all as part of Show and Tell Thursday, especially because I think it shows some of the power of integrating what Domino does well with what external software products, including open source products.To start with, you will need FCKeditor. You could get the version from the official website, but then you would lose special features such as the importing of images from the local hard drive, the attaching of files and the creation of doclinks. Those are all my additions. So, instead, why don't you get it here at the EntwicklerCamp 2006 - Web Editor Session page, along with the database.
Now, feel free to read the slides, but the gist of what you need to see is the the WebSubform subform, and the HTMLBodyContent computed field. If you look in the Example Form in the HTML Head Content formula, it includes both the HTMLBodyContent from the subform and the actionbar.css (which was created by Tim Davis of the Turtle Partnership Ltd. and modified by Rocky Oliver). There is a computed subform which is where the Body field would normally be placed, and this uses either the WebSubform or NotesSubform, depending (if you can't guess what it depends on, perhaps you are on the wrong website).
Copyright © 2006 Genii Software Ltd.
What has been said:
437.1. Greg Walrath (02/23/2006 03:00 PM)
Have you found a way to get an editor like this on a form twice? We have a need to have someone edit a document and enter, say, English and Spanish on the same page at the same time.
437.2. Ben Langhinrichs (02/23/2006 03:08 PM)
Certainly. I am not sure I tested the Multi-Field version without CoexEdit, but it would be trivial to get it working. The only real change would be changing the WQS agent to check the form and set all three fields (or two in your case) to passthrough HTML. Just take a look at the multi-field form and subform and let me know if you have any difficulty getting it working. One clue, you may need to change the id of the fields to match the fieldname, as it is slightly different with CoexEdit.
437.3. nilesh (06/13/2007 11:00 PM)
Can I creat create multiple hotspot link on same image ?
437.4. nilesh (06/13/2007 11:00 PM)
Can I create multiple hotspot link on same image ?
