Hello to all,
need a little bit help. I will add an new textarea to the location properties. How I can do that ? Must I use the iTop_Customization-3.pdf. Or is it another way to add an extra textarea.
Many thanks
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Then, just apply the change to the database using the following SQL command:
ALTER TABLE `location` ADD `description` TEXT NULL;
That's it, your new field should be usable. You can put the final touch by editing the 'dictionary' as explained in the PDF to adjust the label of your new field, in your favourite language.
Hope this helps,
- Denis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello to all,
need a little bit help. I will add an new textarea to the location properties. How I can do that ? Must I use the iTop_Customization-3.pdf. Or is it another way to add an extra textarea.
Many thanks
Markus
Hi Markus,
You can take a look at the PDF document, because the principle is the same, but hopefully what you are looking for is simpler.
Just edit the file 'modules/itop-config-mgmt-1.0.0/model.itop-config- mgmt.php'.
Supposing that your new field will be called 'description', insert in the definition of the 'Location' class, after the line 90, the following line:
Also edit the line 97 to add the new field into the details:
Then, just apply the change to the database using the following SQL command:
That's it, your new field should be usable. You can put the final touch by editing the 'dictionary' as explained in the PDF to adjust the label of your new field, in your favourite language.
Hope this helps,
- Denis
Hi Denis,
your right is simpler. Works great for me,perfect!
Thanks for your fast reply.
Brgds Markus