[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtigercrm-developers
Subject:    Re: [Vtigercrm-developers] Cyclic vtlib relationships?
From:       Alan Lord <alanslists () gmail ! com>
Date:       2012-09-20 8:18:58
Message-ID: 505AD172.6060204 () gmail ! com
[Download RAW message or body]



On 20/09/12 08:20, Joe Bordes wrote:
> Hi Alan,
>
> Each class has a method called vtlib_handler(), this method gets called
> on certain "install" events (to call them something). Exactly, I would
> say you are looking for the postinstall event of this method. That is
> where you can setup those relations that aren't established in the
> manifest file on import/export.
> Basically the idea is that the manifest file is capable of establishing
> all elements related to the module being installed, but it cannot modify
> another module, so when you need your new module to appear (either as a
> uitype 10 field or a related list) on another module you have to do it
> in this method.

Great stuff, thanks for the info Joe.

That looks like the right place to handle that.

Cheers

Al



_______________________________________________
http://www.vtiger.com/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic