Menu

Modul or Modify??

Robert
2012-03-13
2012-12-19
  • Robert

    Robert - 2012-03-13

    General question:
    when making changes, what is preferred way to do this? Right now i have difficulties to understand the wiki: there's the "Toolkit for modifying the data model" and the "How to create your own module" topic.

    When i want to change the way organizations and locations are connected (for my place: we have locations with several organizations in one place), is it better to use the toolkit or try a modul??
    I just want to  be sure to keep the changes after upgrading to a new version.

    Right now i am not sure which way to take.

    thanks

    Robert

     
  • Dylan Barlett

    Dylan Barlett - 2012-03-13

    First you must modify the PHP (or a add new module), then run the toolkit to update the data model (MySQL tables).

     
  • Robert

    Robert - 2012-03-19

    Ok but I still don't get it.
    When I try to modify the original itop-file (adding two new attributes to location) it is no problem at all - the changes are made after running setup again.
    But after trying to copy the itop-files to my own module und trying to just modify the location-class, my module even doesn't show up when running setup.

    So how can I extend the existing itop-classe (here: location) with my own module??

    Thanks
    Robert

     

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.