Problem: I want to add descriptive features to all contacts. e.g., drop downs, âis a golf player/is a tennis player/no sportsâ, âhandicap less than 10/plays 3 times per week/etc.â
Situation: I couldnât find any functionality for the customization of contacts.
You can easily add fields from Admin -> Developer Section -> Studio
Once you are in Studio you select the Contacts module and add the new fields that you need.
You have to remember to add the new fields to your layouts and search forms as per your needs.
Once done you have to apply the changes with Save & Deploy button (for each change).
If you also need to create new lists to be used in your dropdowns, this has to be done before adding the relative field in Studio, by going to Admin -> Developer Section -> Dropdown Editor.
Once you have done all you need it is probably a good Idea to run a Quick Repair and Rebuild.
Hope this is what you required,
2 Likes
Thank you. I tried adding a drop down. The system wonât accept that. I try"Save", error message âundefinedâ.
Yesterday I tried adding a user. I also got such error message âundefinedâ?
Is the system not installed correctly?
âundefinedâ labels instead of the proper text are are often a symptom of a permissions error.
You should check that permissions are set correctly throughout your whole SuiteCRM installation, in the config.php file and (twice) in include/utils.php
You should then run Quick Repair and rebuild a couple of times and, if at the bottom of the Quick Repair and rebuild screen there are some things to fix you should proceed as instructed.
Additionally you should check your logs to see if there are any php or SuiteCRM errors.
Thank you, amariussi.
I succeeded in creating additional fields. Apparently, my error in naming those fields was the causeof the error. Perhaps a blank in between 2 words.
It is somewhat logical what you advised that in addition to the creation of a field, the layouts and search forms need to be done too. I tried doing so but failed. I found the âLayoutsâ panel in Studio Contacts, but none of the sub-panels wouldnât do what is needed. The âLayouts / EditViewâ sub panel has a strange function feature: I succeed in marking a field which I created, a very generic one, namely âCompanyâ, and to pull it across the panel by holding down the mouse left klick switch. I dropped âCompanyâ into the âLayout/Overviewâ area. It replaces another, namely âDepartmentâ. Instead of being added in. Then I refresh one contact of the data base to see if âCompanyâ is shown. Negative. Then I marked another field tag, namely my newly created one âProfessionâ. Unfortunately, that field tag is on the left side very low in the list, and the display of the Layout Overview area is very high on the right side, so it is impossible to drop the marked field item âProfessionâ where it is supposed to go at all.
I am surprised. This one and the other settings and modifications of mine are very common. The administratorâs works are far from intuitive. Additionally, I couldnât find any documentation/manual.
Could you please once again advise, please in greater detail. Thank you.
In order to add a field in the layout from Studio first you need to add a new row:
from the left side Toolbox you drag the âNew Rowâ item to the right side to the position you want. (sometimes it is difficult to drag to the last position in a panel so put it first to the one before last, and once it is in the panel move the las above so that yours becomes the last).
You will notice that the newly added row is split into two slots called âfillerâ for two fields. You can add a field in one of these filler slots by dragging them from the left-side Toolbox.
If you only want one field add only one and leave the other blank or fiddle with the â+/-â sign on the side of the row. Then save and deploy.
Navigate to the layout of module and your field will be there.
Well, this sounds feasible.
Where âAdd new rowâ is perhaps supposed to be, I have 3 different kinds of âundefinedâ. Ok, I guess this placeholder is equal to âAdd new rowâ and drag it over from Toolbox to Detail view. Ok, it adds it in. Ok, I can drag my newly created field âCompanyâ over the newly created âundefinedâ and replace the latter. Ok, I klick âsave and deployâ. From here the problems begin:
The âCompanyâ field and content is still not diplayed in "Contacts after a refresh of the page.
I cannot add another âundefinedâ row into the Detail view area.
I cannot drag the âProfessionâ field at all because, as said, it is too far down in the list on the left. It is impossible to do both at the same time, holding the mouse button AND scrolling the display in upward direction.
The video https://youtu.be/OOt2xSYm2f0 shows/confirms what you explained. But as I explained, these simple steps can in my reality not be executed.
1 Like
If you have âundefinedâ labels you most likely have a permissions problem.
In order to solve it you have to:
- Edit the permissions in you SuiteCRM_main_folder/config.php
- Edit the permissions in you SuiteCRM_main_folder/Include/utils.php (here there are two places where you have to do it)
- Reset your whole SuiteCRM folder/subfolder/files manually to correct permission
There are lots of posts on this in the forum, including a script to perform 3.
After yo have done you should, from within SuiteCRM, run Quick Repair and Deploy two or three consecutive times. When you do this you should also check if, at the bottom of the screen, you are instructed to perform actions to finish the Repair (possibly in the DB)
1 Like

Here is more in detail what I recommend you do (on a Linux/Unix machine):
- Edit the permissions in you SuiteCRM_main_folder/config.php
With your favourite editor open config.php and serch for the following:
array (
âdir_modeâ => 493,
âfile_modeâ => 493,
âuserâ => ââ,
âgroupâ => ââ,
),
Change 493 in the first line (dir_mode) with 1533 and leave 493 in the second line (file_mode)
Then enter between the two quotes your Unix user and inthe next line your Unix group (if you have cpanel, you should be able to see them from a file listing).
So the result should be:
array (
âdir_modeâ => 1533,
âfile_modeâ => 493,
âuserâ => âYOUR_UNIX_USERâ,
âgroupâ => âYOUR_UNIX_GROUPâ,
),
where YOUR_UNIX_USER and YOUR_UNIX_GROUP should be replaced by the actual values
-
Edit the permissions in you SuiteCRM_main_folder/Include/utils.php (here there are two places where you have to do it)
Follow the same instructions as above.
However be careful because in this file, instead of user and group you will find chown and chgroup (replace also these to âuserâ and âgroupâ as in config.php.
Note that in this file there are two places where you have to do the changes.
Also note that this modification is not upgrade safe so, if you upgrade the system you may have to redo the same things again.
-
Reset your whole SuiteCRM folder/subfolder/files manually to correct permission
You have to reset all yuor permissions to 755 and 775 according to the file and folder.
For this purpose I am attaching a php script that I have created that does it. You just have to copy it to the top folder of the SuiteCRM installation and then run it from a browser by typing its full url (eg: http://www.yourdomain.com/yourSuiteCRMPath/chperms.php
Note that it is set not to display anything and it may take a few seconds to execute.
Once done you can go log into SuiteCRM and run Quick repair and rebuild a couple of times. then run again the script that I have attached (I recommend that you run it every time you do something in Studio (I have set up a cronjob that runs it every 15 minutes!)
1 Like
Thank you very much, amariussi. With yours and the kind help of an expert, I might have the problem resolved for now. No âundefinedâ error messages at the moment.
Still, the creation of extra fields challenge remains.
I did do successfully this-
-
created field âCompanyâ
Comment: This was relatively easy because "Company has a âCâ as initial letter. Therefore it is listed high in the Toolbox list and can easily be dragged and dropped onto a filler.
-
created fields âLinkedIn Contact of mineâ and "Profession.
Comment: This was relatively complicated because the initial letters are L and P. Therefore listed low in the toolbox. Drag IMPOSSIBLE. So I ridiculously worked around this by temporarily naming the fields âALinkedIn Contact of mineâ and AProfession.
-
clicked Save and Deploy.
Still, in the âContactsâ view of one contact item, I do neither see the field labels nor the actual content.
What is still missing, please?
Many thanks again. The trick is to check the checkbox âSync to DetailViewâ inside the editor-wizard where the change has to be confirmed with âSave and Deployâ. I had previously unchecked this. Now all good.