ElkArte Community

Project Support => Support => Topic started by: Aaron101 on March 31, 2022, 10:21:05 am

Title: Profile help
Post by: Aaron101 on March 31, 2022, 10:21:05 am
I modified the gender field to only show male or female.

I updated my profile and selected male and saved it. But when I go to see my profile it shows this in the screenshot below.

Why doesn't it show the gender selected?
Title: Re: Profile help
Post by: Spuds on March 31, 2022, 01:51:34 pm
I'll have to do that on my local and see if there is a template bug.  Stay tuned !
Title: Re: Profile help
Post by: Spuds on March 31, 2022, 02:36:56 pm
I'll classify this one as :confused:

The fix is in the custom profile fields, where you set the male/female choices, there is a section labeled "Wrap user input in text (Optional):"  What is happening is that when you made the change in the choices, its simply pointing at the wrong icon.  To fix that you need to edit that field.

In there it currently says
Code: [Select]
<i class="icon i-{KEY}" title="{INPUT}"><s>{INPUT}</s></i>

but for what you are doing, it needs to instead say
Code: [Select]
<i class="icon i-{INPUT}" title="{INPUT}"><s>{INPUT}</s></i>
Title: Re: Profile help
Post by: Aaron101 on March 31, 2022, 03:21:35 pm
Okay! What file do I need to make this change in?
Title: Re: Profile help
Post by: Spuds on March 31, 2022, 04:45:17 pm
Same place where you changed the selections

In in the Admin panel under Configuration / Features and Options / Profile Fields