User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:devel:createvtlibmodule [2017/11/21 18:27]
joebordes
en:devel:createvtlibmodule [2019/08/21 19:34] (current)
joebordes
Line 66: Line 66:
  
  
-Finally, we must **specify any additional functionality**. This is where we will explain cron jobs, event handlers and any special widgets or operations the module ​must have.+Finally, we must **specify any additional functionality**. This is where we will explain cron jobs, event handlers and any special widgets or operations the module ​will have.
  
 Reached this point we have a clear idea of everything we need to create our module and we can start coding. Reached this point we have a clear idea of everything we need to create our module and we can start coding.
 +
 +{{ :​en:​devel:​moduletemplate.zip |You can download a text template here}}
  
 The steps are The steps are
Line 108: Line 110:
 **3.7.-** Fill in the All filter fields **3.7.-** Fill in the All filter fields
  
-**3.8.-** Fill in the sharing access, default actions, related ​ lists and other special settings+**3.8.-** Fill in the sharing access, default actions, related listsand other special settings
  
-**4.-** Each module has a main file which defines ​it'​s ​class. This file was copied in step 1 and renamed in step 2. So we now have a file called:+**4.-** Each module has a main file which defines ​its class. This file was copied in step 1 and renamed in step 2. So we now have a file called:
  
 <​code>​ <​code>​
Line 143: Line 145:
 Now you are ready to install and test. Use the build/​HelperScripts/​installmodule.php script. Now you are ready to install and test. Use the build/​HelperScripts/​installmodule.php script.
  
-Before installing I like to make a dump of the database so I can easily recover if made a mistake and try again. Normally the errors appear in the manifest field definitions,​ typical copy paste errors.+Before installing I like to make a dump of the database so I can easily recover if made a mistake and try again. Normally the errors appear in the manifest field definitions,​ typical copy-paste errors.
  
 In order to be able to send this module to any coreBOS, you have to set up a specific structure. In order to be able to send this module to any coreBOS, you have to set up a specific structure.