We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17822
    • 1 Posts
    I’m wondering if anyone else has run into this. When I’m logged in and navigate to my home page, the quick edit toolbar appears as expected. When I go to any other page being managed by MODx though, it doesn’t show up.

    I’ve got my links to prototype and scriptaculous in the header, and this is currently appearing in the HTML source:
    <!-- Start QuickEdit headers -->
    <script type="text/javascript">
     var modId = '1';
     var managerPath = '/manager/';
     var modPath = 'assets/modules/quick_edit';
    </script>
    <script src="assets/modules/quick_edit/javascript/cookies.js" type="text/javascript"></script>
    
    <script src="assets/modules/quick_edit/javascript/output.js" type="text/javascript"></script>
    <script type="text/javascript" src="manager/media/script/scriptaculous/prototype.js"></script>
    <script type="text/javascript" src="manager/media/script/scriptaculous/scriptaculous.js"></script>
    <link type="text/css" rel="stylesheet" href="assets/modules/quick_edit/styles/output.css" />
    <!-- End QuickEdit headers --></head>
    <body><!-- Start QuickEdit toolbar -->
    <div id="QE_Toolbar" onmouseup="QE_SetPosition(this);" style="display:none;">
     <div id="QE_Toolbar_Header">
      <h1 id="QE_Title">QuickEdit</h1>
      <a id="QE_Button_content" class="QE_Button" href="javascript:;" onclick="javascript: QE_ToggleMenu('content');">Content</a><a id="QE_Button_setting" class="QE_Button" href="javascript:;" onclick="javascript: QE_ToggleMenu('setting');">Settings</a><a id="QE_Button_go" class="QE_Button" href="javascript:;" onclick="javascript: QE_ToggleMenu('go');">Go</a>
    
     </div> 
     <div id="QE_Menu_content" class="QE_Menu" style="display:none;">
     <ul>
      <li><a href="javascript:;" id="QE_Toolbar_content" onclick="javascript: QE_OpenEditor(1, 'content');" title="Edit Document content">Document content</a></li><li><a href="javascript:;" id="QE_Toolbar_description" onclick="javascript: QE_OpenEditor(1, 'description');" title="Edit You can enter an optional description of the document here.">Description</a></li><li><a href="javascript:;" id="QE_Toolbar_introtext" onclick="javascript: QE_OpenEditor(1, 'introtext');" title="Edit Type a brief summary of the document">Summary (introtext)</a></li><li><a href="javascript:;" id="QE_Toolbar_longtitle" onclick="javascript: QE_OpenEditor(1, 'longtitle');" title="Edit Here you can enter a longer title for your document. This is handy for search engines, and might be more descriptive for your document.">Long title</a></li><li><a href="javascript:;" id="QE_Toolbar_pagetitle" onclick="javascript: QE_OpenEditor(1, 'pagetitle');" title="Edit Type the name/ title of the document here. Try to avoid using backslashes in the name!">Title</a></li>
     </ul>
    </div><div id="QE_Menu_setting" class="QE_Menu" style="display:none;">
     <ul>
    
      <li><a href="javascript:;" id="QE_ShowLinks" onclick="QE_ToggleLinks(true);"><img id="QE_ShowLinks_check" src="assets/modules/quick_edit/images/checked.gif" alt="checked" style="float:left; margin-right:3px;" />Show links</a></li><li><a href="javascript:;" id="QE_Toolbar_alias" onclick="javascript: QE_OpenEditor(1, 'alias');" title="Edit Here you can select an alias for this document. This will make the document accessible using:
    
    http://yourserver/alias
    
    This only works if you're using friendly URLs.">Document's alias</a></li><li><a href="javascript:;" id="QE_Toolbar_cacheable" onclick="javascript: QE_SendAjax('doc=1&var=cacheable&save=1&tvcacheable=', function() { window.location.reload() } );" title="Edit Leaving this field checked will allow the document to be saved to cache. If your document contains snippets, make sure this field is unchecked."><img src="assets/modules/quick_edit/images/checked.gif" alt="checked" style="float:left; margin-right:3px;" />Cacheable</a></li><li><a href="javascript:;" id="QE_Toolbar_hidemenu" onclick="javascript: QE_SendAjax('doc=1&var=hidemenu&save=1&tvhidemenu=1', function() { window.location.reload() } );" title="Edit Select this option to show document inside a web menu. Please note that some Menu Builders might choose to ignore this option."><img src="assets/modules/quick_edit/images/unchecked.gif" alt="checked" style="float:left; margin-right:3px;" />Hide in menu</a></li><li><a href="javascript:;" id="QE_Toolbar_menuindex" onclick="javascript: QE_OpenEditor(1, 'menuindex');" title="Edit Menu Index is a field you can use for sorting document in your menu snippet(s). You can also use it for any other purpose in your snippets.">Menu index</a></li><li><a href="javascript:;" id="QE_Toolbar_menutitle" onclick="javascript: QE_OpenEditor(1, 'menutitle');" title="Edit Menu title is a field you can use to display a short title for the document inside your menu snippet(s) or modules.">Menu title</a></li><li><a href="javascript:;" id="QE_Toolbar_published" onclick="javascript: QE_SendAjax('doc=1&var=published&save=1&tvpublished=', function() { window.location.reload() } );" title="Edit Check this field to have the document published immediately after saving it."><img src="assets/modules/quick_edit/images/checked.gif" alt="checked" style="float:left; margin-right:3px;" />Published?</a></li><li><a href="javascript:;" id="QE_Toolbar_searchable" onclick="javascript: QE_SendAjax('doc=1&var=searchable&save=1&tvsearchable=', function() { window.location.reload() } );" title="Edit Checking this field will allow the document to be searched. You can also use this field for other purposes in your snippets."><img src="assets/modules/quick_edit/images/checked.gif" alt="checked" style="float:left; margin-right:3px;" />Searchable</a></li>
     </ul>
    </div><div id="QE_Menu_go" class="QE_Menu" style="display:none;">
     <ul>
      <li><a id="QE_Manager" href="/manager/">Manager</a></li><li><a id="QE_Help" href="http://www.modxcms.com/quickedit.html">Help</a></li><li><a id="QE_Logout" href="index.php?id=1&QuickEdit_logout=logout">Logout</a></li>
    
     </ul>
    </div>
    </div>
    <!-- End QuickEdit toolbar -->
    


    This isn’t a huge deal, but I’d be nice to get working. This is in Firefox 1.5.0.6. Loading up the home page in Internet Explorer 6 appears to crash IE when the toolbar is present.

    Thanks,

    Jason B.
      • 29635
      • 361 Posts
      Can’t guarantee this is the issue, but it’s probably because you load up the page like http://mysite.com/, then you navigate to http://www.mysite.com/page1

      What’s the difference? The "www". I could be wrong on the details, but Firefox won’t share sessions across subdomains, so if you want quickedit, you’ll need to login to www.mysite.com/manager.

      IE doesn’t seem to care about the sessions/subdomains thing.

      It’s actually nice sometimes, because Quickedit tends to break other javascript stuff, so you can login to the non-www, and then view the site *without* the quickedit on the www side of things.

      I hope that helps.
      -Brett
        Need MODx Ecommerce? Try FoxyCart!