Anyone publishing new Editor Providers???

Last post 07-22-2005 1:56 PM by Inetcor. 89 replies.

Sort Posts:

  • Anyone publishing new Editor Providers???

    07-22-2004, 12:07 PM
    • Participant
      1,085 point Participant
    • pspeth
    • Member since 03-07-2003, 3:44 PM
    • Posts 221
    Now that we have the new provider model in DNN 2.1, I am wondering if anyone has published providers for any editors besides the default - FTB???
  • Re: Anyone publishing new Editor Providers???

    07-22-2004, 2:55 PM
    • Star
      13,648 point Star
    • cathal
    • Member since 06-18-2002, 4:02 PM
    • Belfast, Northern Ireland
    • Posts 2,702
    • TrustedFriends-MVPs
    Bert corderman documented one for the telerik rad.editor @ http://www.telerik.com/Default.aspx?PageId=1602&b66ResourceId=WX , and according to this Nina will be selling a PA using the CuteSoft editor later this week.

    Cathal
  • Re: Anyone publishing new Editor Providers???

    07-22-2004, 3:10 PM
    • Participant
      1,425 point Participant
    • sbarry
    • Member since 11-04-2003, 9:39 AM
    • Milwaukee, Wisconsin
    • Posts 285
    The Editor Providers are rediculously easy to make, I took a look at the Rad Tree one. You literally have to modify 2 functions. Take a look at the Telerik example, it's easily adaptable to any editor.

    Man I love the Provider pattern.
  • Re: Anyone publishing new Editor Providers???

    07-22-2004, 4:36 PM
    • Participant
      1,085 point Participant
    • pspeth
    • Member since 03-07-2003, 3:44 PM
    • Posts 221
    I don't really want another PA with an editor, I would like a better editor for all of my modules.

    This is why I am hoping more of this gets going.

    Thanks
  • Re: Anyone publishing new Editor Providers???

    07-22-2004, 6:55 PM
    • Contributor
      4,075 point Contributor
    • bertcord
    • Member since 10-24-2002, 2:36 PM
    • Posts 813
    The providers are a seperate PA...that is the way they work...but when iomplemented the text editor is replaced whereever the HTML provider is used

    Bert
  • Re: Anyone publishing new Editor Providers???

    07-23-2004, 8:52 AM
    • Participant
      1,085 point Participant
    • pspeth
    • Member since 03-07-2003, 3:44 PM
    • Posts 221
    So here is my question: If a provider is made for a specific editor.

    Am I correct in assumming this could be used with any module that is Provider enabled?

    Second question would be does Nina's PA act as a provider, or is it a stand-alone PA, allowing an author to add html content to the site?
  • Re: Anyone publishing new Editor Providers???

    07-23-2004, 10:11 AM
    • Star
      10,740 point Star
    • nokiko
    • Member since 10-22-2002, 2:36 PM
    • Utrecht, Netherlands
    • Posts 2,146
    Hi

    1. Any module that is peditprovider enabled should in theory be able to use the editor you defined for it.

    2. Nina's one at the moment is just a PA, so a variation of the html module that uses the cuteeditor instead of the richtextbox.

    I have a cute editor provider in my planning but at the moment I have a lot of other stuff to finish first

    Armand Datema
    5 Skins, 4 SkinObject, 38 Containers, 2 Modules and more Euro 50 a year.
    SchwingNuke
    Offshore DNN and ASP.net development
    Container Creator
  • Re: Anyone publishing new Editor Providers???

    07-23-2004, 11:08 AM
    • Contributor
      4,075 point Contributor
    • bertcord
    • Member since 10-24-2002, 2:36 PM
    • Posts 813
    The provider is one of the easiest things to create. I was going to create a FCK editor one but I have no need for it as I have the telerik control now. I also think this is an opportunity for someone in the community to step up. If anyone needs help creating one send me an email or post here.

    bert
  • Re: Anyone publishing new Editor Providers???

    10-06-2004, 1:56 PM
    • Contributor
      4,805 point Contributor
    • lucast
    • Member since 07-30-2002, 4:32 PM
    • Texas
    • Posts 961
    Nokiko,

    Listen, I just resorted to creating my own HTMLEditorProvider for the CuteEditor product. It really is a piece of cake for the generic functionality. Took less than 30 minutes. Email me if you need it if you never got around to creating one.

    Cheers
    Tom Lucas

  • Re: Anyone publishing new Editor Providers???

    10-06-2004, 1:59 PM
    • Contributor
      4,805 point Contributor
    • lucast
    • Member since 07-30-2002, 4:32 PM
    • Texas
    • Posts 961
    Goodness, it really is so simple I thought I'd just go ahead and post the code that's needed. Of course this needs to be in a new project with references to DNN and CuteEditor, etc.... standard provider stuff:

    Here goes:



    Imports System.IO
    Imports System.Web
    Imports DotNetNuke
    Imports CuteEditor

    Namespace DotNetNuke.HtmlEditor
    Public Class CuteEditorProvider
    Inherits HtmlEditorProvider

    Dim cntlFtb As New CuteEditor.Editor

    Private Const ProviderType As String = "htmlEditor"

    Private _providerConfiguration As ProviderConfiguration = ProviderConfiguration.GetProviderConfiguration(ProviderType)
    Private _providerPath As String


    Public Sub New()

    Dim _portalSettings As PortalSettings = CType(HttpContext.Current.Items("PortalSettings"), PortalSettings)

    ' Read the configuration specific information for this provider
    Dim objProvider As Provider = CType(_providerConfiguration.Providers(_providerConfiguration.DefaultProvider), Provider)

    _providerPath = objProvider.Attributes("providerPath")

    'initialize the control
    cntlFtb.ImageGalleryPath = _portalSettings.UploadDirectory
    cntlFtb.MediaGalleryPath = _portalSettings.UploadDirectory
    cntlFtb.FilesPath = "Providers/HtmlEditorProviders/CuteEditorProvider/CuteEditor_files/"

    'cntlFtb.HelperFilesParameter = "tabid=" & _portalSettings.ActiveTab.TabId.ToString
    'cntlFtb.ButtonPath = "Providers/HtmlEditorProviders/FtbHtmlEditorProvider/Ftb/images/"
    cntlFtb.ID = "CuteEditorCntrl"
    cntlFtb.AutoConfigure = AutoConfigure.Default

    cntlFtb.Enabled = True

    'assign the initialized control as the HtmlEditorControl
    Me.HtmlEditorControl = cntlFtb
    End Sub


    Public ReadOnly Property ProviderPath() As String
    Get
    Return _providerPath
    End Get
    End Property


    'The Text, Width, and Height properties are retrieved and set by
    'typing the HtmlEditorControl Web.UI.Control to FreeTextBoxControls.FreeTextBox
    'and accessing the FreeTextBox properties Text, Width, and Height
    Public Overrides Property Text() As String
    Get
    Text = CType(Me.HtmlEditorControl, CuteEditor.Editor).Text
    End Get
    Set(ByVal Value As String)
    CType(Me.HtmlEditorControl, CuteEditor.Editor).Text = Value
    End Set
    End Property

    Public Overrides Property Width() As System.Web.UI.WebControls.Unit
    Get
    Width = CType(Me.HtmlEditorControl, CuteEditor.Editor).Width
    End Get
    Set(ByVal Value As System.Web.UI.WebControls.Unit)
    CType(Me.HtmlEditorControl, CuteEditor.Editor).Width = Value
    End Set
    End Property

    Public Overrides Property Height() As System.Web.UI.WebControls.Unit
    Get
    Width = CType(Me.HtmlEditorControl, CuteEditor.Editor).Height
    End Get
    Set(ByVal Value As System.Web.UI.WebControls.Unit)
    CType(Me.HtmlEditorControl, CuteEditor.Editor).Height = Value
    End Set
    End Property

    End Class
    End Namespace



    Tom Lucas

  • Re: Anyone publishing new Editor Providers???

    10-06-2004, 2:18 PM
    • Member
      540 point Member
    • housefly
    • Member since 05-11-2004, 5:18 PM
    • Posts 108
    Boskone created a FTB version 2 provider. Here's the link
  • Re: Anyone publishing new Editor Providers???

    10-06-2004, 2:39 PM
    • Star
      10,740 point Star
    • nokiko
    • Member since 10-22-2002, 2:36 PM
    • Utrecht, Netherlands
    • Posts 2,146
    thanks never gottten around to creating it but will give a whirl later

    right now im realy into all the new telerik editor features. And telerik itself is real dnn dedicated too, they are working on providers and skinobjects for there menu, panelbar, tabstrip and editor
    Armand Datema
    5 Skins, 4 SkinObject, 38 Containers, 2 Modules and more Euro 50 a year.
    SchwingNuke
    Offshore DNN and ASP.net development
    Container Creator
  • Re: Anyone publishing new Editor Providers???

    03-04-2005, 11:30 AM
    • Contributor
      2,238 point Contributor
    • alexdresko
    • Member since 06-04-2004, 7:48 AM
    • Easley, SC
    • Posts 463
    I'm interested in creating a RichTextBox (richtextbox.com) provider for DNN 3 but I would like to be able to integrate the gallery that is already a part of the new FTB.

    Is that possible?
    Alex Dresko
    I'm not a player, I just code a lot.
  • Re: Anyone publishing new Editor Providers???

    04-10-2005, 3:50 PM
    • Member
      55 point Member
    • molinabrown
    • Member since 06-11-2004, 1:49 PM
    • Posts 11
    Have you had any luck in creating a richtextbox.com provider for DNN 3?  Were you able to integrate FTB's image gallery?
  • Re: Anyone publishing new Editor Providers???

    04-10-2005, 7:49 PM
    • Participant
      1,515 point Participant
    • locopon
    • Member since 03-11-2004, 8:57 PM
    • La Paz, Bolivia
    • Posts 303

    I just created a provider for FCKEditor and it is working fine, I am curretly developing the image gallery. I will post some news when it become ready.

    It will be free.

    Mauricio Márquez Anze
    Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
    http://dnn.tiendaboliviana.com
Page 1 of 6 (90 items) 1 2 3 4 5 Next > ... Last »