We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38217
    • 5 Posts
    I am trying on the tutorial of Doodle on MODx website.
    I created a Custom Manager Page but no results shown in the manager page.

    I saw ({"total":"1","results":[]}) for doodles/connector.php when I open up the firebug.

    It always shows up "No data to display" but I got data in the table.

    Hope someone can help me to solve this problem. Thanks a lot! [ed. note: winnie1398 last edited this post 14 years, 8 months ago.]
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Which version of Revo are you using?
        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
        • 38217
        • 5 Posts
        2.1.2
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Is this on a localhost installation? Did you add the site configuration setting for session_cookie_path and session_cookie_path as mentioned in the tutorial?

          You may have to add a System Setting in your MODX install called session_cookie_path and give it a value of "/" (no quotations). This will tell MODX to use the same session when you're running stuff at http://localhost/doodles/. Also, giving it a unique name via session_cookie_name (like "modxlocaldevsession") is a good idea too. That'll prevent conflicts with other MODX installs on your local machine. If you do this, empty the core/cache/ directory and relogin after doing so.

          Also you'll probably need to delete your browser's cookies for the localhost domain when you do this.
            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
            • 38217
            • 5 Posts
            Yes

            I defined the value of "session_cookie_path" is "/" and "session_cookie_path" is "modxlocaldevsession".

            What do you mean by localhost installation?

            Actually I just uploaded the files in doodle zip files to the server and added modx_doodle table to database. I am not sure if I missed something because I may skip some steps.
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Then you more than likely did miss some steps. If you had been following the tutorial you would have created the table from the snippet, not manually, although you do need to add a couple of rows to the database manually.
                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
                • 38217
                • 5 Posts
                Thank sottwell.

                I may try to follow the steps in http://rtfm.modx.com/display/revolution20/Developing+an+Extra+in+MODX+Revolution

                In fact, is there any way to simplify the step to create Custom Manager Page? Is there any plugin to do that?

                I need to repeat the 3 parts to create the Custom Manager Page.
                  • 38217
                  • 5 Posts
                  So much thanks to sottwell!!

                  After I generate the table via code, it works!!!