We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25132
    • 129 Posts
    I have only come across this problem for the first time. I am adding content to resources from a Word document provided by the client. In order to strip out all styling, I am first copying the content into Text Edit and then copying it from here into the Manager’s Edit Resource page. In most instances, this is working fine. However, for some pages, on ’save’, the right Edit Resource column of the Manager is replaced by a second Manager window. Please see attached screenshot. I can only close this down by accessing a different resource. However, the changes I had made to the content were not saved.

    This is not limited to happening when clicking on ’Save’ but can also happen if I select other functions such as change from TinyMCE to None within the Edit Resource page.

    As a second scenario, this morning I added a new sentence into an existing resource by hand-typing it. It saved fine. Then, I highlighted the sentence and copied it, went to a different resource and tried to paste the sentence in here. However, on ’Save’ I experienced the same issues as described above. I have often copied and pasted text from one resource to another in this manner on other sites without problem.

    This issue is critical to me as I cannot hand over the site to the client with this problem. I have reported the bug but was hoping that perhaps someone in the forum know as reason/solution for this.



      • 25132
      • 129 Posts
      I have since tried an ’upgrade/repair/ install of MODx but it has made no difference. I have even tried hand-typing the text into a brand-new resource, saving it after every couple of words, and every single time the minute I get to a particular word the double-Manager thing happens again. I am ready to tear my hair out ......
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Ah, that begins to make a suspicion clearer. I do believe you are seeing an effect of a server security setting. This explains the general principle, although there are a number of possible variations on the same theme.

        http://wiki.modxcms.com/index.php/What_is_mod_security_and_how_does_it_affect_me
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 25132
          • 129 Posts
          Susan - You’re a Star!!!

          Yes, it was down to security settings with this client’s mod_security2 getting all frazzled about the ’select’ & ’from’ word combination within a resource’s content! For example, we had a sentence : "Please select the amount required from the drop-down list .... " to purchase a gift voucher. If we change the text to ’choose’ instead of ’select’, no problem! So it had nothing to do with the source Word file or the copying and pasting action. We had realised that it seemed to happen after typing the word ’from’ but because that is obviously all over other text as well, it didn’t seem a plausible cause.

          Would have never figured this out without your link. The best thing is that as I am from Ireland I only got your reply this morning, whereas my brother - who is working with me - is currently based in Thailand and had already checked the forum when he got up. So by the time I saw my email notification this morning he had already sorted out everything ..... love when that happens! Now just have to wait until Monday to get the hosting company to switch off the rule engine (a tiny place with no weekend phone cover!). First client hosting with this company ... Have never had the issue when hosting sites with my own hosting company. Thanks again - further bald patches have been avoided!!
            • 25132
            • 129 Posts
            Something has come up which I think might still be related. I have now moved the site over to a test server with my normal hosting company. I can now happily put in whatever text I want. However, the Gift Voucher page I previously had problems with as well as all my cookery course pages (some of which I had problems with but not all ...) can now no longer be accessed by the QuickEditor! No problem through the Manager, but if I try to use the QuickEditor there is no pop-up window but just a black page with a cut-off white dot in the top left corner?!!! It’s as if I have copied the problem in part over to the new server. Would you have any idea what might be the culprit? Any help appreciated!
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Clear your browser cache and cookies. Make sure all the QM plugin’s files got copied correctly. Check the javascript libraries. Does your browser have a javascript error console? Or does the MODx Manager’s event log have anything relevant?
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 25132
                • 129 Posts
                I just realised that these are all pages that have FoxyCart code on them, so perhaps that’s the link? However, it wasn’t a problem initially, so I don’t understand how this could suddenly have happened? In my error console, it tells me:





                So does that mean there’s a problem between FoxyCart and Mootools? Will see if I can find anything on the FoxyCart forums.
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  The warnings are just for some browser-specific CSS rules; they won’t hurt anything.

                  The errors indicate a javascript library is not being loaded, and those functions aren’t available.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 25132
                    • 129 Posts
                    Have been going through this with the guys over at FoxyCart and the problem seems to be as follows:

                    The issue, then, appears to be that MODx is using Colorbox for its QuickEditor, and FoxyCart is using Colorbox for the cart. The result - conflict. When you try to call the QuickEditor, it is displaying the (hidden) FoxyCart overlay, which pretty well blocks out everything else.

                    This does not seem to have been the case with previous versions of FoxyCart that used Thickbox. Is there anything I can do to override anything in the QuickEditor colorbox that might help? Will also check with FoxyCart if I can revert to Thickbox for the cart. If this is the issue, then it would be a problem for anybody using the newest FoxyCart version with MODx .....