help on dotProject !!
Moderator: General Moderators
help on dotProject !!
Hello forums
Has anybody made a modification to a so called groupware script named "dotProject" ?
What are the points to be taken into considerations if i
1> add few fields to the existing table called "companies" or any other
2> add new table
Please help me on the above topics !!
Thanks in advance..
Has anybody made a modification to a so called groupware script named "dotProject" ?
What are the points to be taken into considerations if i
1> add few fields to the existing table called "companies" or any other
2> add new table
Please help me on the above topics !!
Thanks in advance..
You might get faster/better results at http://www.dotproject.net/vbulletin/
Dotproject has the following files
All the links which appear on the top are nothing but directories in modules directory. Each directory has the following files
1)index.php default page of the directory.
2)view page which will allow you to view the list of items(can be companies, projects, tasks etc) in the page.
3)Addedit page which will have the forms add and edit forms
4)do_aed pages where the sql action of adding and editing takes place.
5)companies.class.php where you will need to add your extra fields as class variables.
If any constraints on the fields you are adding , then adding in class or do_aed should do.
I think this should do as per your question
This is all in modules directory of dotproject
All the links which appear on the top are nothing but directories in modules directory. Each directory has the following files
1)index.php default page of the directory.
2)view page which will allow you to view the list of items(can be companies, projects, tasks etc) in the page.
3)Addedit page which will have the forms add and edit forms
4)do_aed pages where the sql action of adding and editing takes place.
5)companies.class.php where you will need to add your extra fields as class variables.
If any constraints on the fields you are adding , then adding in class or do_aed should do.
I think this should do as per your question
This is all in modules directory of dotproject
1)You need to declare the variables first in the companies.class.php.
2)Next add the variables in addedit form.
3)If any constraints on those variables, just implement the constraints before bind ans store logic in do_aed file
Code: Select all
/*
Remember this, the class variable name and the form variables name in addedit should be same. Only the thing that differs is in class you declare the names through php, and in the forms as
*/3)If any constraints on those variables, just implement the constraints before bind ans store logic in do_aed file
I did the following but not working
1> in companies.class.php
2>in companies table
added two fields at the last
I added new company and it successfully inserted in database but its not seeing in edit section
Is there anything left to do?
Help again.
thanks again
1> in companies.class.php
Code: Select all
//New added fields variables
var $company_skype_name = NULL;
var $company_msnger_name = NULL;added two fields at the last
3>in addedit.phpcompany_skype_name
company_msnger_name
Code: Select all
<!-- New ADDED fields -->
<tr>
<td align="right">Skype Name:</td>
<td><input type="text" class="text" name="company_skype_name" value="<?php echo dPformSafe(@$obj->company_skype_name);?>" maxlength="15" /></td>
</tr>
<tr>
<td align="right">Msn Name:</td>
<td><input type="text" class="text" name="company_msnger_name" value="<?php echo dPformSafe(@$obj->company_msnger_name);?>" maxlength="15" /></td>
</tr>Is there anything left to do?
Help again.
thanks again
No a new one..
One Problem I encountered!!
1> when i added more than 8 fields in projects (at the last of the table)
then that field got no data inserted and when fetched only other data get fetched..
the data get all shifted towards back fields....
what is this problem about?
Is there any limitations in adding fields ?
Any modifications that should be made to add more than 8 fields
You have been helping me Mr. dude81
Again expecting for the help
Thanks again !!
One Problem I encountered!!
1> when i added more than 8 fields in projects (at the last of the table)
then that field got no data inserted and when fetched only other data get fetched..
the data get all shifted towards back fields....
what is this problem about?
Is there any limitations in adding fields ?
Any modifications that should be made to add more than 8 fields
You have been helping me Mr. dude81
Again expecting for the help
Thanks again !!
If it is a new one just put it in the modules dicrectory and write some setup script (by seeing other modules).PHPycho wrote: No a new one..
I'm not sure of that, It has been quiet longtime I worked with dotproject.PHPycho wrote: Is there any limitations in adding fields ?
Any modifications that should be made to add more than 8 fields
Thanks Mr. dude81
I would like to integrate mantis and i searched on the net and found one site with such features
http://www.dotproject.net/vbulletin/sho ... de5&t=5334
But i encountered problem:
i had kept the files as stated and configured as stated
Following are the configuration i made:
(Note: I had installed xampp in C:\Program files\xampp\
-dotProject is installed in C:\Program files\xampp\htdocs\dotproject\
-mantis is installed in C:\Program files\xampp\htdocs\mantis\
)
1>In mantis_config.php
2> In mantishelper.php
3> In mantiserver.php
And finally installed the mantis module from the dotproject and mantis link appeared and when clicked gave the following errors:
Thanks in advance Mr. dude81 !!
I would like to integrate mantis and i searched on the net and found one site with such features
http://www.dotproject.net/vbulletin/sho ... de5&t=5334
But i encountered problem:
i had kept the files as stated and configured as stated
Following are the configuration i made:
(Note: I had installed xampp in C:\Program files\xampp\
-dotProject is installed in C:\Program files\xampp\htdocs\dotproject\
-mantis is installed in C:\Program files\xampp\htdocs\mantis\
)
1>In mantis_config.php
Code: Select all
<?php
// Change this to the path to PHPXMLRPC client.php
require_once("C:/Program Files/xampp/htdocs/XMLRPC/PHPXMLRPC/client.php");
// Mantis username and password
$mantis_user = "administrator";
$mantis_pass = "root";
// Your domain
$domain = "http://localhost";
// The web path to the mantis_xmlrpc folder. Make sure you include the end slash
$web_path_to_mantis_xmlrpc = "http://localhost/mantis/mantis_xmlrpc/";
?>Code: Select all
# Change this path to point to the Mantis installation core.php file
require_once('C:/Program Files/xampp/htdocs/mantis/core.php');Code: Select all
# Change this to point to the PHPXMLRPC server.php
require_once("C:/Program Files/xampp/htdocs/XMLRPC/PHPXMLRPC/server.php");I am unable to figure out the problem ??Error: [5] Connect error: Unable to find the socket transport "http" - did you forget to enable it when you configured PHP? (1958060647) at client.php:115
Thanks in advance Mr. dude81 !!