First Name and Surname not displaying in default profile

If you aren't speaking german, you can ask for support or post your request here.
Antworten
SturmVogel
Beiträge: 4
Registriert: 8. Mär 2015, 13:50

First Name and Surname not displaying in default profile

Beitrag von SturmVogel »

Hi

I have successfully imported a csv list of members into my Admidio setup, however, when I click on any of the members to view their profile details under 'User Management', the 'First Name' and 'Last Name' fields are missing from the "Basic Information" view, even though they are mandatory fields.

But then when I click to edit any of the member profiles, the fields are displayed.

Please see attached screenshots (I've blanked out personal information).

Any idea what I've done wrong?
I'm sure it's a simple fix, but I can't seem to find it.
User profile view in normal mode
User profile view in normal mode
adm1.jpg (20.85 KiB) 5672 mal betrachtet
User profile view in edit mode
User profile view in edit mode
adm2.jpg (38.2 KiB) 5672 mal betrachtet
Profile fields
Profile fields
adm3.jpg (31.65 KiB) 5672 mal betrachtet
Many thanks
Gruss
Zuletzt geändert von SturmVogel am 17. Mär 2015, 16:42, insgesamt 1-mal geändert.
SturmVogel
Beiträge: 4
Registriert: 8. Mär 2015, 13:50

Re: First Name and Surname not displaying in default profile

Beitrag von SturmVogel »

RESOLVED

[*] Make a backup copy of ~/adm_program/modules/profile/profile.php
[*] Rename your backup copy to ~/adm_program/modules/profile/profile.php.MASTER
[*] Open to edit ~/adm_program/modules/profile/profile.php
[*] Goto line 242

Code: Alles auswählen

 case 'LAST_NAME':
 case 'FIRST_NAME':
 case 'GENDER':
				// don't show these fields in default profile list
[*] Change to:

Code: Alles auswählen

 // case 'LAST_NAME':
 // case 'FIRST_NAME':
 case 'GENDER':
				// don't show these fields in default profile list
Result:
adm4.jpg
adm4.jpg (27.79 KiB) 5662 mal betrachtet
Gruss :D
Benutzeravatar
fasse
Administrator
Beiträge: 6170
Registriert: 12. Nov 2005, 16:06

Re: First Name and Surname not displaying in default profile

Beitrag von fasse »

Hi Sturmvogel,

but this was so designed. We show username and firstname in the header of the group, so we dont show them in the list.

But in the next version 3.0 we have changed this to the settings you have set here.

Fasse
SturmVogel
Beiträge: 4
Registriert: 8. Mär 2015, 13:50

Re: First Name and Surname not displaying in default profile

Beitrag von SturmVogel »

Hi Fasse

Yes thank you, I quickly realisd my error :D

I kept on thinking that the missing fields were a configuration error on my side, but realised that it was by-design once I saw the code.

Thank you very much for Admidio. I am finding it most useful for our organisations needs.

Have fun
Sturmvogel
Antworten