Full Version: add image field in organization
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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


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():

    function save_module($module)
Just copy the insertIntoAttachment function defination and adapt to Accounts module.
Do you know if this module it's still working?
sorry, @aleex20, what are you asking?