Re: Javascript errors on some menu buttons

  •  08-22-2005, 1:48 PM

    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.



     
View Complete Thread