We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37759
    • 13 Posts
    Hey all,

    Been trying to get a Custom manager page to work in 2.2 using the doodles tutorial:
    http://rtfm.modx.com/display/revolution20/Developing+an+Extra+in+MODX+Revolution%2C+Part+II

    I think it's great the tutorial was updated to use the new classes in 2.2 but the problem is, I can't get it to work. If I go to my cmp in the manager, nothing appears. No grid, no error message, nothing. It's like the javascript isn't loading or something. I've checked my code for errors several times. Even downloaded the doodle files and checked again, but still nothing.

    One thing though, I'm running my modx install on my local machine. Don't think it has anything to do with it, but I'm not totally sure so I thought I would mention it.

    Before I go on wasting my hours at looking at the code even more, I was wondering if anybody has any idea of what I could be doing wrong...

    Thank you, Renne
      • 38925
      • 38 Posts
      I have the same problem. On mine it seems to be because of the index.class.php and home.class.php (some includes are missing I think) but i'm still unable to get it work neither sad

      Someone knows how to fix that ?
        • 18373 ☆ A M B ☆
        • 3,141 Posts
        That's a very open ended question laugh lol.

        There's many ways to debug. When working with ExtJS you'll soon start to love Firebug. If there's any JS errors popping up there, that's probably the problem.

        If nothing seems to be registered to the screen (ie the js/css files you are registering in your controller are not on the page when you view source), check the error log via Reports > Error Log.

        That should get you started to find out where the problem is. I agree just staring at the code wont do much good - you need the pointers on *where* to look.
          Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

          Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
          • 38925
          • 38 Posts
          I get this error with Firebug : Ext.layout is undefined

          But I can't find this Ext.layout
            • 18373 ☆ A M B ☆
            • 3,141 Posts
            Hmm, does the rest of the manager work at all? Are you seeing the sidebar / topmenu?

            If it's an issue in the entire manager you can try disabling JS and CSS compression by setting compress_js and compress_css to 0 in the database and clearing the core/cache/system_settings folder.
              Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

              Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
              • 38925
              • 38 Posts
              The rest of the manager works on Chrome, but it gets Firefox down even for the login page.

              EDIT : I deleted my package, Firefox still doesn't work :s [ed. note: tzoreol last edited this post 14 years, 5 months ago.]
                • 34926
                • 87 Posts
                Have you cleared the MODx cache?

                Also try Firefox in "Private Mode" or whatever its called to see if its the local cache. Take note Manager can easily break with JavaScript errors.
                  • 38925
                  • 38 Posts
                  Works well in private mode !

                  Thanks wink
                    • 37759
                    • 13 Posts
                    Just realized I never replied back here. That's very bad practice.

                    Anyway, thanks for the pointers Mark smiley