We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • I’m having a problem figuring out how to style the system alert box in the right frame of the Manager. Usually it is a neat little box in the right corner of the frame if there is an error. But in my adaptation of the action scripts to borrow the tabs, it comes up much wider than the frame. The box is created by javascript after the rest of the page is loaded, so I can’t figure out how to adjust it.



    I did some testing, and it does the same thing in the QuickEdit module if I deliberately generate an error ($test=$dummy to generate an "undefined" error).

    Further examination shows the smf module logs the error but doesn’t display the message box in the frame.


      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
    • Susan, I’ve been getting the same problem in my modules as well. Don’t suppose you’ve found a fix?

      I’ll have more of a look into it tomorrow (I’m sure it’s something simple ...)
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com
      • Can’t say it’s exactly a fix, but fixing the error that generates the message does seem to solve the problem grin
          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
        • I found the file that is creating the javascript for the message box. I don’t see what is causing the problem, but I’m not real strong on javascript. The file, manager/includes/sysalert.display.inc.php, was written by Raymond, so I guess we’ll have to depend on him to figure out why it’s not displaying correctly in the modules.
            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