We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31186
    • 20 Posts
    BEFORE (without QuickEdit):

    <td id="mdImageWindow"><a href="javascript:vc_largeImageWindow(1)"><img src="http://media.mysite.com/nlblit/item_images/set_1/241/md.jpg?1186436213" border="0" height="228" width="299"></a></td>
    


    AFTER (with QuickEdit):
     <td id="mdImageWindow"><a href="javascript:vc_largeImageWindow(1)" ></a></td>
                      </tr>
                    </table>
                    <script language="javascript" type="text/javascript">function vc_largeImageWindow(set_num) { var url; var width; var height;ImageWin = window.open("","Image","resizable=1,toolbar=no,scrollbars=no,location=no,status=no,titlebar=no,width="+width+",height="+height);ImageWin.document.write("<html><head><title>Image</title><style type=\"text/css\">body{margin: 0; padding: 0;}</style>
    <!-- Start QuickEdit headers -->
    <script type="text/javascript" src="/manager/media/script/scriptaculous/prototype.js"></script>
                    <script type="text/javascript" src="assets/modules/quick_edit/javascript/Cookie.js"></script>
                    <script type="text/javascript" src="assets/modules/quick_edit/javascript/Drag.js"></script>
                    <script type="text/javascript" src="assets/modules/quick_edit/javascript/moo.fx.js"></script>
                    <script type="text/javascript" src="assets/modules/quick_edit/javascript/QuickEdit.js"></script>
                    <link type="text/css" rel="stylesheet" href="assets/modules/quick_edit/styles/toolbar.css" />
                    <!-- End QuickEdit headers -->
                    </head>
                    <body margin=0>
                    <!-- Start QuickEdit toolbar -->
                    <!-- End QuickEdit toolbar -->
                    <img src="+url+">
                    <script type="text/javascript">
     var qe = new QuickEdit(2,2,'/manager/','assets/modules/quick_edit',$('QE_Toolbar'));
    </script>
    </body>
    <html>
    ");ImageWin.document.close();ImageWin.focus();}
    </script>
    </td>
    
    


    I have tried removing the configuration options in QuickEdit, deleting my cache, and disabling QuickEdit completely. Does someone know the answer for this ?
      • 25663 MODX Staff
      • 12,272 Posts
      That really looks like some source code got copied and pasted into the source content. QE should be sticking that in the <head> section of your doc. Did you disable the plugin or just the module; the plugin is what affects the front end.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 31186
        • 20 Posts
        You were correct about disabling the plugin. I’m sure though using QuickEdit would be a optimal alternative, so perhaps we can figure out the underlying cause here.

        It’s fairly vanilla install, but there is another app (shopping cart) that runs along side...

        I do agree that it should appear in the head, or not put in a hard return, would perhaps fix the problem--but not sure why it is doing it this way.

        I PM’ed you a link to the actual page.

        P.S. The reason modx is successful: 1. good framework to begin with, 2. good documentation, 3. and most important, fast replies in the forum.