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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
First you must modify the PHP (or a add new module), then run the toolkit to update the data model (MySQL tables).
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