Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
add image field in organization
#1
Hi,

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

Rgds
Reply
#2
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)