We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10473
    • 44 Posts
    Quote from: kongondo at Sep 01, 2009, 03:18 AM

    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.

    Thanks for the heads up about best practices. Maybe in a future version I’ll tidy everything up, but at the moment I’m just too lazy. If you have any trouble with the address book example, then please get in touch.
      • 16183
      • 1,390 Posts
      Here it is...for Revo though, but some stuff applies ti Evo too.

      http://svn.modxcms.com/docs/display/revolution/MODx+PHP+Coding+Standards

      cheers/k
        • 813 ☆ A M B ☆
        • 326 Posts
        Looks like a great module! I’ve installed it and followed the instructions; however, when I try to run the module, I get the following error:

        Fatal error: Call to undefined method module_maker::module_maker() in /MYPATH/manager/processors/execute_module.processor.php(114) : eval()'d code on line 7


        Any idea what could be causing this? I’m using Evolution 1.0.2.
          • 26931
          • 2,314 Posts
          Hi Garethwi,

          thanks for sharing module maker!

          got the same error as aladage:
          Fatal error: Call to undefined method module_maker::module_maker() in /mypath/manager/processors/execute_module.processor.php(114) : eval()’d code on line 7
          any ideas?

          MODx Evolution 1.0