vtiger Forum Index vtiger
The Honest Open Source CRM
 

documentation/tutorials/articles for creating new modules?
Click here to go to the original topic

 
       vtiger Forum Index -> Developer Forum - 4.x
Previous topic :: Next topic  
Author Message
sethuhdiah



Joined: 28 Dec 2005
Posts: 1

Posted: Wed Dec 28, 2005 5:17 pm    Post subject: documentation/tutorials/articles for creating new modules?  

Hello,
I am fairly new to vtiger, after many hours of researching several types of open source scripts. I am very happy with the progress that vtiger has made, however I see very many things that it could use such as erp, better inventory management, project management, accounting/payroll, cms, and then some.

I have found several open source scripts that provide different pieces that vtiger could use. Thus, I would like to begin integrating more modules into vtiger from the other open source scripts.

I am curious to know if there is any tutorial that would explain where my code belongs for a new module. I see that all of the modules exist within the /modules folder, however I understand that many more files would need to be altered to correctly display the module.

Please let me know what kind of development documentation exists so that I can quickly begin implimenting new modules.

Thank you very much.
Back to top  
oogeyboogey
Guest





Posted: Wed Dec 28, 2005 8:05 pm    Post subject: Re: documentation/tutorials/articles for creating new module  

this is about all i could find in these forums..

Source#1:
3 things to do. But , this is my case,
For you there might be different or wrong.

1. Create new module folder and some files under the folder
Suppose name of new module is "Weblog".
1-1. Create a folder "Weblog" under modules
1-2. Creae files index.php and Forms.php under Weblog .
1-3. Create folder "language" and a file en_us.lang.pjp under it.

these 3 files can be blank files.

2. Add data to DB
add Weblog row into tab table and profile2tab

3. add your module to moduleList in include/launguage/en_us.lang.php around line 784
,"Weblog" => "Weblog"


Source#2:
Adding New Module
Basic Steps"

1. Create a module specific database tables testing

2. Create a <module-name> folder under Module

3. Create List View (php/html)

4. Create Detail View page (php/html)

5. Create Edit View page (php/html)

6. Create Sub panel view pages (php/html) for each module.

7. Create module home page (index.php)

8. Create import.php (Calls the import file from modules/import directory)

9. Update the export.php file.

10. Call Save, Menu, Delete,

11. Create Menu.php (In latest build, a single menu.php is used)


Source #3:
HOW TO MAKE A NEW MODULE FROM AN EXISTING MODULE

Step 1. First make a copy of the existing module you would like to edit in the /modules folder. Example: duplicate folder Notes, rename to Notesss.

Step 2.Download this file, newTab.php and save it in the vTiger root directory.
File: http://forums.vtiger.com/download.php?id=847

Step 3. Begin editing...
Back to top  
 
       vtiger Forum Index -> Developer Forum - 4.x
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group