[Vtigercrm-developers] Customising Contacts module - Layout Editor
Alan Lord (News)
alanslists at gmail.com
Mon Jun 28 11:56:15 PDT 2010
On 28/06/10 16:26, Holbok István wrote:
> Dear Alan,
>
> You can use the method adding fields to the Contact module descried in
> the VTLIB (Payslip module).
> Creating a php code you can direct the field to the table where you want
> to appear using method:
>
> // Get module instance
> $moduleInstance = Vtiger_Module::getInstance('Contacts');
> // Get block instance
> $blockInstance = Vtiger_Block::getInstance('the wanted block',
> $moduleInstance);
>
> when creating a user filed:
> $field->table = $moduleInstance->basetable;
>
> Or in other table.
>
> I am sure this method will resolve your problem.
Cool - thanks Istvan, the offered solutions to this problem is making it
a very useful learning exercise :-)
I think Joe has hit the nail on the head with the ADV & BAS info_types.
They align perfectly with the layout.
Cheers
Al
--
The Open Learning Centre
http://www.theopenlearningcentre.com
More information about the vtigercrm-developers
mailing list