Javascript errors on some menu buttons

Last post 08-22-2005, 3:21 PM by Adam. 3 replies.
Sort Posts: Previous Next
  •  08-22-2005, 9:35 AM 9839

    Javascript errors on some menu buttons

    Having registered CE4 sometime ago, I have finally the need to install NukeEdit31.zip (dowloaded today) into a DNN 3.1 site - installation was a breeze and everything seemed to work 100% first time!
     
    However, some menu buttons are giving javascript "Invalid Syntax" errors whenever pressed - some affected buttons include: 
    • Insert Image: Line 2 Char 66326
    • Insert Image (with pencil): Line 2 Char 66840
    • Cell Properties: Line 2 Char 18776
    • Insert Hyperlink: Line 2 Char 18776
    Note that the buttons on this forum's submission form are working correctly -- all the affected buttons seem to want to present a modal dialog -- so i guess it must be some kind of configuration option I have missed duing CE installation on my own site.
     
    Can you offer any advice?
     
    TIA
     
    John C.
     
  •  08-22-2005, 12:18 PM 9844 in reply to 9839

    Re: Javascript errors on some menu buttons

    John,
     
    Is your site online so you can provide a URL?

    I have no idea now.


     

    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

  •  08-22-2005, 1:48 PM 9848 in reply to 9844

    Re: Javascript errors on some menu buttons

     Adam wrote:
    John,
     
    Is your site online so you can provide a URL?

    I have no idea now.


     
     
    Hi Adam,

    Many thanks for your swift response - in the very few times I have had to contact Cutesoft diretly, I have always been very impressed with quality of feedback and support you guys offer both potential and existing customers.
     
    I cannot get the site online in the near future -- so I'll try and provide as much information as possible.

    • CE4 was installed as per the guide enclosed in the NukeEdit31.zip file. The standard DNN 31 "HTML/Text" module now displays CE when the edit option is selected -- all toolbar icons are present and in all other respects everything looks hunky-dory with CE.
    • I had copied CuteEditor.dll, CE.lic and DotNetNuke.CEHtmlEditorProvider.dll to the "%DNN_ROOT\bin" directory
    • I have created a new subdir under "%DNN_ROOT\Providers\HtmlEditorProviders" called "CEHtmlEditorProvider". This subdir has additional directories called "bin", "CuteSoft_Client", "obj" etc.
    • My manual edit (which is where I hope the problem lies) of "%DNN_ROOT\web.config" looks like:

           <!-- <htmlEditor defaultProvider="Ftb3HtmlEditorProvider">  -->
          <htmlEditor defaultProvider="CEHtmlEditorProvider"> 

            <providers>

              <clear />

              <add name="CEHtmlEditorProvider" 
                  type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider" 
                  providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"  
                  UseDNNRootImageDirectory="true"
                  ......  ......  ......  ......  ......  (lots of stuff left out of this post)
                  Guest_ShowPreviewMode = "true"
               />
        
              <add name="Ftb3HtmlEditorProvider"
              type="DotNetNuke.HtmlEditor.Ftb3HtmlEditorProvider,DotNetNuke.Ftb3HtmlEditorProvider"
              providerPath="~\Providers\HtmlEditorProviders\Ftb3HtmlEditorProvider\"
              toolbarStyle="Office2003"
              enableProFeatures="false"
              spellCheck="" /> 

            </providers>

          </htmlEditor>
    • Note, the "Insert Table" button works OK .. I see the small table design grid which works 100% as expected - these javascript errors only seem to occur when a modal dialog needs to be displayed.
    Perhaps not a lot more than you already know ... I feel the likliest place for things to go wrong is in my manual edit of web.config ... a) Should I remove all references to "Ftb3HtmlEditorProvider"  b) Do I need a seocnd <clear /> ... Certainly the HTML provider has made things a LOT easier in DNN to put in a decent editor ... but I had no problems with my earlier attempts with DNN 2.x !!!


    In any case I hope this info could provide you with some clues!

    John C.



     
  •  08-22-2005, 3:21 PM 9849 in reply to 9848

    Re: Javascript errors on some menu buttons

    John,
     
    It looks good to me.
     
    It's strange.
     
    Can you post a screenshot?
     
     

    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