View Full Version : Modify Standard Field
Gary Law
22-05-05, 11:51 AM
Hi,
I would like to customise dotProject such that the companies field is replaced by release - and modify the usage throughout the dotProject environment
How would I go about this ??
Thanks
Gary
Hi,
I would like to customise dotProject such that the companies field is replaced by release - and modify the usage throughout the dotProject environment
How would I go about this ??
Could you be more precise ?
Leo.
Gary Law
22-05-05, 11:11 PM
Could you be more presice ?
Leo.
Sure - wherever the word company or companies is used , replace it with the word release.
This applies to drop down menus , fields on forms , etc
I tried modifying the companies.inc file under locales , but that did not seem to work.
Basically I have an environment where we assign lot's of projects to a particular release of our product , and dotProject would be perfect - I can simply use release names instead of company names , BUT some users are overly picky ,and I want to remove the objection.
thanks
Gary
Hi,
See this thread, it will light your way:
http://www.dotproject.net/vbulletin/showthread.php?t=901
Pedro A.
Gary Law
23-05-05, 09:28 AM
Hi,
See this thread, it will light your way:
http://www.dotproject.net/vbulletin/showthread.php?t=901
Pedro A.
Thanks
I tried it , but cannot seem to save the mods using the translate module
Any clues ?
Gary
ajdonnison
23-05-05, 09:57 AM
Make sure your locales directories and files are writable by the web server.
Gary Law
23-05-05, 11:18 AM
Make sure your locales directories and files are writable by the web server.
Thanks
That got me to looking at the Apache error log
[client 127.0.0.1] PHP Warning: Invalid argument supplied for foreach() in C:\\dotproject\\modules\\system\\translate_save.ph p on line 39, referer: http://localhost/index.php?m=system&a=translate
Not sure what to make of it ........
I am running latest CVS build , although had same problem with
2.01 Apache/2.0.54 (WinXP) PHP/5.0.4
Thanks for the help
Gary
First of all, you should make some changes to the file: db/dotproject.sql (or upgrade_xx if this is the one you're using during the installation) *before* installing dotProject:
=> INSERT INTO `modules` VALUES("1", "Companies", "companies", "1.0.0", "", "core", "1", "Companies", "handshake.png", "1", "1", "", "companies", "company_id", "company_name");
=> Change both "Companies" to what you want...
Then follow the changes explained in the link posted in this thread.
Now you won't need to play with phpmyadmin to alter tables and everything should be ok...
Hope this helps,
Leo.
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.