We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10473
    • 44 Posts
    I’ve made a generic module maker for MODx, and just updated it so that it works with version 1.0. You can download it here:

    http://modx.cmsthingies.com/module_maker.html

    Documentation is included with the module maker, but the screenshots are for version 0.9.x.

    Attached is a (hopefully) screenshot of an admin screen for MODx 1.0 for the connoisseurs.
      • 4310
      • 2,310 Posts
      Great idea.
      Should really speed up custom module development.
      Thanks laugh
        • 16183
        • 1,390 Posts
        Thx for sharing!

        cheers/k
          • 10473
          • 44 Posts
          There’s more. I’ve done multisite, limiting the treeview in the admin, and SEO urls best matching. As soon as I have them documentation ready, I’ll post these too.
            • 16183
            • 1,390 Posts
            Quote from: garethwi at Aug 26, 2009, 11:14 AM

            limiting the treeview in the admin
            Sounds interesting...looking forward to seeing these stuff.

            cheers/k smiley
              • 10473
              • 44 Posts
              How about multi-site?

              You can find the instructions here:

              http://modx.cmsthingies.com/multisite.html

              I’ll also make a separate post in the correct place in the forum (if I can find it).
                • 10473
                • 44 Posts
                and here’s the instructions on limiting the treeview for certain manager users:

                http://modx.cmsthingies.com/limiting-manager.html

                Again, I’ll make another posting in the correct place.
                  • 16183
                  • 1,390 Posts
                  OK,

                  Found time to play with this..

                  Installed fine, clicked on my new module (Module Maker) and nothing happens...just a blank screen

                  Environment:

                  Apache 2.2
                  PHP 5.3
                  MySQL 5.1.37
                  MODx Evolution 1.0
                  Linux
                  FF 3.0

                  Thx for your help.

                  Cheers/k
                  /k
                    • 10473
                    • 44 Posts
                    Quote from: kongondo at Aug 30, 2009, 11:23 AM

                    OK,

                    Found time to play with this..

                    Installed fine, clicked on my new module (Module Maker) and nothing happens...just a blank screen

                    Environment:

                    Apache 2.2
                    PHP 5.3
                    MySQL 5.1.37
                    MODx Evolution 1.0
                    Linux
                    FF 3.0

                    Thx for your help.

                    Cheers/k
                    /k

                    Are you expecting the module maker to make the module for you out of the box, or did you follow the instructions in the docs folder?

                    If you want to send me a PM with details of the site, I would be glad to look at it for you.
                      • 16183
                      • 1,390 Posts
                      Quote from: garethwi at Sep 01, 2009, 02:28 AM

                      Quote from: kongondo at Aug 30, 2009, 11:23 AM

                      OK,

                      Found time to play with this..

                      Installed fine, clicked on my new module (Module Maker) and nothing happens...just a blank screen

                      Environment:

                      Apache 2.2
                      PHP 5.3
                      MySQL 5.1.37
                      MODx Evolution 1.0
                      Linux
                      FF 3.0

                      Thx for your help.

                      Cheers/k
                      /k

                      Are you expecting the module maker to make the module for you out of the box, or did you follow the instructions in the docs folder?

                      If you want to send me a PM with details of the site, I would be glad to look at it for you.


                      garethwi,

                      No am not expecting it to do that laugh. However, what I was expecting after installing it a button or wizard like feature that would tell me "click here to create your module" or similar.I did read the docs but now I think I see where I messed up. In my overzealousness I created a module called module maker and for its code I used the code in "module_maker.php" though the instructions in the docs don’t mention anything like that. Reading the docs again, I think this was a mistake? One shouldn’t create a module called "module maker". Instead, one should create their modules but reference the module maker class. As you can probably tell, I am a little wet behind the ears smiley

                      Thanks for the offer to look into my problem, however it is a local install. I’ll try out the address book example and report any issues.

                      By the way, I can’t find it now but I was reading a post about best practices for MODx developers and there was this thing about how to name your php files. For a class, it was something like module_maker.class.php. Many thanks.

                      cheers/k