Solution for support three new fields types in Studio

okey Bro, I test and I report the result.

Bro not found the solutions

Absolutely fantastic! Well done and thanks so much! Is there a way the files (images in this case) can be displayed as thumbnails?

@DanielJ

Yes. It’s possible.

Can you please advise how this can be done and what file must be edited? I have been trying to figure it out for the last few days but can’t seem to get it to work.

@DanielJ

I think that you can replace tag ā€œ<a>ā€ in file ā€œcustom/include/SugarFields/Fields/Link_file/DetailView.tplā€ on call Smarty function ā€œhtml_imageā€ (see the file: ā€œinclude/Smarty/plugins/function.html_image.phpā€) . I didn’t test it. Maybe I will do it some times later.

Hi @p.konetskiy ! I think your contribution to the creation of these three types of fields is great. Currently, I am trying to create a custom field to upload multiple files in a form. The version of SuiteCRM I am using is 8.6.0. I wanted to know if you could give me a hand with trying to do it in this version, as I don’t know which files/paths I need to create or modify to achieve it. I loved what you did for version 7 and would like to have it in this version since it is very useful! I appreciate any help in advance.

I have fixed some bugs in the plugin to support the current version of SuiteCRM and tested it for version 7.14.5.
I’m not sure if I’ll create a plugin version for SuiteCRM 8.

3 Likes

Awesome! So, do we need to download zip from GitHub link and upload using module loader?

SuiteCRM three new fields types

Will it work for 7.13 too?

Edit: read this on GitHub

Testing
The package was tested in SuiteCRM versions 7.10.x and 7.11.x . The package can be adopted to old
versions, including SugarCRM.

I am getting this error when I am trying to upload zip to module loader

The zip file is missing a manifest.php file. Cannot proceed.

Edit: I installed it. We need to unzip file and then choose SuiteCRM_new_Fields_types zip from the folder.

@p.konetskiy thank you for this update, it’s really appreciated. :tada:

@rsp
I tested it on three different OS and didn’t see any problem. When I downloaded the archive, there was no additional archive in it. It was the file SuiteCRM_new_Fields_types zip only.

I got error information about the field type ā€œcollection fileā€. I will try to fix it today.

UPD: Bug fix complete.

@rsp

I think that it should work for this version. I tested it in version 7.12.6 and 7.14.5 .

1 Like

Thank you! I will try it out! :+1: I have some errors with it.

Hi,
I tried to create a set of fields for SuiteCRM 8, but I found that I couldn’t create a good solution without changing the core.

Are you planning to develop add-on for SuiteCRM v8.x versions?

Probably not. Developing such a solution would require too much investment.

Thank you for the update. :smile: :smile: :smile: :smile:

Do you know how to create a package(add-on installation package) in the v8?