Menu

Question about Customization

Marco Lima
2014-02-27
2014-02-28
  • Marco Lima

    Marco Lima - 2014-02-27

    Hello.

    I've been looking over some of the examples of customizations that have been posted here but I'm not sure I'm understanding the dynmaic between the Setup and the Toolkit.

    After making a change to the XML files in either the original modules or the extension ones, do you necessarily HAVE to run the setup again to make the changes take effect? (I ask because on one of the examples posted here this was said and I also noticed that a change only happened on my test installation after I did that).

    Oddly enough, I've also made changes directly to the XML files of a custom module, ran the Toolkit but NOT the Setup and the changes took effect just the same.

    What exactly is the correct procedure?

     
  • Denis

    Denis - 2014-02-28

    Hi Marco,

    The "toolkit" rebuilds the PHP files located in 'env-production' from the source XML files.

    The setup does the same thing, but on top of it also recreates the configuration file, which is mandatory to add a new module.

    So whenever you create a new extension:

    • Run the setup the first time to install the extension
    • Run the toolkit each time you've updated your source code to update the files in 'env-production'
     
  • Marco Lima

    Marco Lima - 2014-02-28

    Ah great" Thank you for that info Denis!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.