Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Invalid file provided for module import!
#4
Look at this code for an example:
The coreBOS Address module permits you to have multiple addresses on Accounts and Contacts. When it is installed it adds fields and related lists to these modules, as one Account can have many Addresses much like ServiceContracts has many CycleCounter.

vtlib_handler is called on install of the module:
https://github.com/tsolucio/coreBOSAddress/blob/master/modules/cbAddress/cbAddress.php#L494

here we get a reference to another module (be it custom or not)
https://github.com/tsolucio/coreBOSAddress/blob/master/modules/cbAddress/cbAddress.php#L504

here we set the related list:
https://github.com/tsolucio/coreBOSAddress/blob/master/modules/cbAddress/cbAddress.php#L507

and below we do some additional magic.

have a look at that and keep asking
Joe
TSolucio
Reply


Messages In This Thread
RE: Invalid file provided for module import! - joebordes - 08-07-2016, 12:05 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)