iFrames in DotNetNuke

Last post 04-12-2010, 1:45 PM by Adam. 2 replies.
Sort Posts: Previous Next
  •  04-10-2010, 5:46 PM 59992

    iFrames in DotNetNuke

    Hi
     
    I want to display a google map. But it always delete the iFrame code.
     
    I added in the file 'CEHtmlEditorProvider.vb' cntlCE.EnableStripIframeTags = False
     
    and I tried EnableStripIframeTags = "False" in web.config.
     
    but it didn't works.
     
    What else can I do?
     
    Thanks for help
    Raph
  •  04-11-2010, 9:15 PM 59999 in reply to 59992

    Re: iFrames in DotNetNuke

    Hi trssaxer,
     
     
    1. Open file CEHtmlEditorProvider.vb
     
    Find section below
     
     Protected Sub cntlCE_Load(ByVal sender As Object, ByVal e As EventArgs) Handles cntlCE.Load
                Try
                      AddDNNLinks()
                Catch ex As Exception
                    Throw New Exception("Check your provider configuration for errors!" & Environment.NewLine & ex.Message)
                End Try
            End Sub
     
    2. Change to
     
     Protected Sub cntlCE_Load(ByVal sender As Object, ByVal e As EventArgs) Handles cntlCE.Load
                Try
                    cntlCE.EnableStripIframeTags = False
                    AddDNNLinks()
                Catch ex As Exception
                    Throw New Exception("Check your provider configuration for errors!" & Environment.NewLine & ex.Message)
                End Try
            End Sub
     
    3. Re-bulid and try again.
     
    Regards,
     
    Ke
  •  04-12-2010, 1:45 PM 60014 in reply to 59992

    Re: iFrames in DotNetNuke

    trssaxer:
    Hi
     
    I want to display a google map. But it always delete the iFrame code.
     
    I added in the file 'CEHtmlEditorProvider.vb' cntlCE.EnableStripIframeTags = False
     
    and I tried EnableStripIframeTags = "False" in web.config.
     
    but it didn't works.
     
    What else can I do?
     
    Thanks for help
    Raph
     
    Raph,
     
    I've modified the provider project. Please download the latest build and set EnableStripIframeTags = "False" in web.config.
     
    Hope it helps.
     
    Keep me posted
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML