Hello there I'm new in vtiger. Now what i want to know is how to create costum module without using existing module designer or other same stuff. For example i want to create a custom module that will save the name and last name of a certain person. Actually I research in the internet, and I didn't find a clear tutorial on how to create a costum module specifically in vtiger 6. Do you have any good tutorial or link on how to create a costum module in vtiger 6 . Your help is greatly appreciated.
相关问题
- installing packages for python 3
- separate styles for separate module in Angular 5
- Drupal 8: How do I customize a form widget to show
- ConcatRelated() Function to provide Unique Values
- how do I install perl modules on macos?
相关文章
- How to arrange a Makefile to compile a kernel modu
- php module does not compile. Does not recognize “s
- Sharing an Android library between multiple Androi
- nodejs modules and duplication? If an app uses two
- Component without template
- Haskell — how to use multiple modules in the same
- How to allow multiple blocks in a module of Drupal
- How to get the `self` to refer to a my class insid
Create the bootstrap vtlib script in root folder of Vtiger to activate the module entry with some specific file name.
create_expense.php
Now create new folder as per below folder structure.
Directory Structure
Next create a Expenses.php class file
I found some interesting tutorial in making entity module this is the link. http://community.vtiger.com/help/vtigercrm/developers/extensions/examples/entity-module.html and it is working.
First create a new folder(
module name without space
) in modules and copy files fromvtlib/ModuleDir/6.0.0
file to the folder created in modules/newmoduleChange the name of
ModuleName.php
with your module name(with no space) and one moreModuleName.php
file inlanguages\en_us
.open the
modulename.php to change the class name, $table_name , $table_index
& also available inlanguages\en_us
with your modulename.Create new file with any name under your root directory. Insert the code below to add the fields and also module.
There's a simple Console tool for creating new custom modules:
open the cmd prompt, go to the vtlib/tools folder and execute the Console.php file:
Type '1' for Creating a new module and set "Module name" and "Entity field" (the Entity field is the field that will be shown in bold at the top of the window, when you open an instance of that module).
Now the new module is created and installed, and you can easily customize it (adding new fields, workflows and whatever) from the vTiger GUI.