vtiger520:Vtlib

From http://wiki.vtiger.com/archives

(Redirected from vtiger510:Vtlib)

You can download the documentation from here

Related Discussions

Extension Module Example

Vtiger Control Flow & Internals - Based on 5.0.3 It is recommended to use VTLIB API's instead of working with Database directly.

Module Bundles

How to create module bundles

When you want to bundle multiple modules into one single bundle, following would be the procedure to follow:-

  • Package individual modules same as you do for any module manager compatible module.
  • Put all such modules into one single directory.
  • Place manifest.xml file in that directory in following format :
<?xml version='1.0' ?>
<module>
	<name>[Bundle Name]</name> 
	<version>[Bundle Version]</version>
	<dependencies>
		<vtiger_version>[Least Compatible Vtiger Version]</vtiger_version>
		<vtiger_max_version>[Most Compatible Vtiger Version]</vtiger_max_version>
	</dependencies> 
	<modulebundle>true</modulebundle>
	<modulelist>
		<dependent_module>
			<name>[Module Name - 1]</name>
			<install_sequence>[Sequence of the Module for Installation]</install_sequence> 
			<filepath>[Zip file name]</filepath> 
		</dependent_module>
		<dependent_module>
			<name>[Module Name - 1]</name>
			<install_sequence>[Sequence of the Module for Installation]</install_sequence> 
			<filepath>[Zip file name]</filepath> 
		</dependent_module><dependent_module>
			...
		</dependent_module>
	</modulelist>
</module> 
  • Bundle this new directory similar to other module manager compatible directory.


Example:

Projects bundle of vtiger CRM 5.2.1.

NOTE:
  1. Only Module Bundles installation is supported through vtlib right now. Module Bundles update is yet to be supported.
  2. Create bundles of modules only when the modules are logically related and needs to be consumed as a single bundle.
Personal tools