We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33983 ☆ A M B ☆
    • 181 Posts
    I have started playing around with Modx Revolution, never used Evolution, and I want to build a package. The problem is I am trying to follow the Docs: http://svn.modxcms.com/docs/display/revolution/Creating+a+3rd+Party+Component+Build+Script and there is code all over for the example and most of it never clearly stats what filename and the location directory it goes with. Can I download all of this build files somewhere or could the docs be updated to state this clearly?

    Thanks for any help
      • 3749
      • 24,544 Posts
      Because build scripts are all different, it’s hard to have a useable one to download.

      If you look closely at the tutorial, I think you can figure out where things go. There’s a screenshot of the directory structure. The directories with no files listed are actually empty. There are only three directories with files in them:

      _build/ -- Files used in the build that won’t be transfered (e.g. transport.core.php)

      assets/components/componentname. -- for files that need to be accessible by a user’s browser (e.g. JS, CSS, images); the files will be normally transported to that directory on the new site


      core/components/componentname -- for files that *don’t* need to be web-accessible (e.g. .php source files); the files that will be transported to that directory on the new site





      Most of the code in the tutorial all goes in the build.transport.php file in the _build directory.

      Any CSS, JS, Image, etc. files can go anywhere as long as you specify where they are as the source location for them and where you want them to end up as the target location for them in the build script.

      The lexicon file typically needs to be at:

      core/components/componentName/lexicon/en/default.inc.php

      It’s not as complicated as it looks.

        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 3749
        • 24,544 Posts
        Never mind all that. This just in: http://modxcms.com/forums/index.php/topic,50352.0.html grin
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 14704
          • 2 Posts
          joostvdheuvel Reply #4, 16 years ago
          Hi,

          I am new to modx and php. I have got experience with java development. I am now looking into setting up my development environment using eclipse. The tutorial describes how to install eclipse and ends with "You can now start importing you web projects".
          Can anyone help me to set up eclipse so I can start developing, testing and building my own packages>
            • 3749
            • 24,544 Posts
            Quote from: joostvdheuvel at Oct 04, 2010, 05:35 PM

            Hi,

            I am new to modx and php. I have got experience with java development. I am now looking into setting up my development environment using eclipse. The tutorial describes how to install eclipse and ends with "You can now start importing you web projects".
            Can anyone help me to set up eclipse so I can start developing, testing and building my own packages>

            This isn’t really an answer to your question. I’ve never used Eclipse (except for a quick test drive), but I notice that many people here have switched to NetBeans, which is quite easy to set up.
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting