Thanks to @julian we finaly found the problem.
Here is the pull request.
In fact, this bug only occurs when an administrator update a member profile.
Hi,
like in title: app.user.groupTitle shows only one item in array
I am a member of 2 groups but see only one.
Did relogin.
Is it a bug ?
You have to select the groups you want in that field in your user profile.
User -> Edit Profile -> Group Title
@Maciej-Bąk-0 the groupTitle is an array and I suoppose that it can show more groups if the user belongs to them. Is it possible to have more items into groupTitle parameter?
@Andrea-0 You need to enable multiple group titles in the ACP.
@baris Also enabling this option, the groupTitle contains only a string (the first group)
Is it a bug?
@Andrea-0 The groups need to be selected on the users profile page. I selected 2 groups now so it shows 2 of them.
@baris How do i select more groups in my profile?
I have installed the version 2.2.1 and the "group title" field, on my profile, is a menu that can't permit a multiple choise
@Andrea-0 you can select multiple:
@PitaJ Thanks. Now it works. Before, I had a menu with sigle choise. I have accessed on http://127.0.0.1:4567/admin/settings/navigation and after a saving i see the multiple choise as you reported.
Now I have another question. Is it possible perform a setting that permit to shows, for every user, all groups always?
I would like show all groups, on user profile, without user chooses more "group titles" on its profile. Thanks
That's not possible out of the box, you would have to write a plugin to set the groupTitle value to all the groups the user is a member of.