CoreBOSBB
add image field in organization - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Open (https://discussions.corebos.org/forumdisplay.php?fid=20)
+--- Forum: Open Discussions (https://discussions.corebos.org/forumdisplay.php?fid=10)
+--- Thread: add image field in organization (/showthread.php?tid=71)



add image field in organization - saidmsl - 11-29-2014

Hi,

does anyone have the vtlib code to add a field type image in organization?

Rgds


Re: add image field in organization - omarllorens - 12-01-2014

Hi.

I don't have, but you can replicate the same that in Contacts module.

You can create a new field like imagename in contacts, look in vtiger_field table to find the uitype. And after you can reproduce the Contacts save_module():

Code:
    function save_module($module)
{
    $this->insertIntoAttachment($this->id,$module);
}
Just copy the insertIntoAttachment function defination and adapt to Accounts module.


RE: add image field in organization - aleex20 - 07-14-2019

Do you know if this module it's still working?


RE: add image field in organization - joebordes - 07-14-2019

sorry, @aleex20, what are you asking?