Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Working with the FreeTextBoxWorking with the FreeTextBox
Previous
 
Next
New Post
9/1/2006 8:44 AM
 
One of my clients has problems to work with the FreeTextBox.
Is there a documentation or a tutorial?

Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
9/1/2006 8:51 AM
 
There is http://freetextbox.com/default.aspx. I haven't found great programmers documentation for FTB. However, if you really need details, we ended up purchasing a source license and spending time in the code. Fortunately, we found features of FTB that we would not have otherwise found and we've managed to use FTB successfully without having to modify its core.

WildVoice.com Michael Levy - Are you ready to be heard? WildVoice.com
 
New Post
9/1/2006 10:43 AM
 
Could you say something more at the dnn-fellows.
I think that a lot of members would like to know what you've found.
For instance which styles can be used.
How to manage thinks...

Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
9/1/2006 1:50 PM
 

I didn't learn everything about FTB. There is actually a lot there. I think FTB has a great deal of overlooked functionality because the documentation is limited.

I learned a few things about FTB to meet our needs. I’ve been able to use it quite successfully, and though we have a source license we did not needed to modify the source (except one small Java script patch for firefox – see http://dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/34/threadid/66849/scope/posts/Default.aspx).

 

Here are some of the things we’ve learned:

DNN doesn't expose all the features of FTB. The default Ftb3EditorProvider that ships in DNN only exposes a few of the key features. You can access more advanced features of FTB by creating your own HtmlEditorProvider.

Once you take the step of creating your own provider, you can access all of the properties exposed by FTB. Some of the features of FTB we’ve used are as follows:

  • Customized toolbar layouts. In your provider you can specify exactly which buttons appear on which toolbars. You can also control which file toolbar button images are found in.
  • In your provider you can customize the look and style of Ftb and its toolbar. You can select one of the preset styles (office 2003, XP, 2000, or Mac). We’ve set properties such as: BackColor, GutterBackColor, EditorBroderColorDark, EditorBorderColorLight, ToolbarBackgroundImage, ToolbarBackColor to get a custom style.
  • By default FTB will convert URLs with a full domain name specified to a relative URL. This is controlled by the FTB property RemoveServerNameFromUrls. I set it to False in my provider so URLs are not stripped of their domain name.
  • In the Pro version of FTB you can convert your Html to Xhtml using SgmReader.dll. Our custom provider exposes the converted Xhtml to my modules. Ftb exposes the property Xhtml with the converted Xhtml. You can set the property FormatHtmlTagsToXhtml to expose Text as Xhtml.
  • ImageGalleryUrl can be set in your provider to have the FTB Pro feature “Insert Image from Gallery” point to any url. We use this to give each user their own image gallery rather than all users sharing the space in \Portals\PortalID folder. We also replace the Insert Image from Gallery pop up with a file browser that matches the rest of our site and lets user access the files in their own space.
  • Ftb exposes a property HtmlStrippedText. My provider exposes this, but I don’t use it.
  • Our provider overrides the Text property so that I can perform detailed XSS validation on user entered Html.

As an example, here is a little screenshot of our editor with its custom style and toolbars:

 

WildVoice.com custom editor

WildVoice.com Michael Levy - Are you ready to be heard? WildVoice.com
 
New Post
9/1/2006 1:57 PM
 

Very nice Michael. Would you be interested in publishing your FTB provider? I could sure use more control.

Thanks

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Working with the FreeTextBoxWorking with the FreeTextBox


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out