When you search for All members, on the right side it will display an icon for male and another for female. I added two more categories there for MTF and FTM. But for both it defaults to a picture of a penguin. I believe I found the code that controls this, and I modified it as shown below:
File: templates/base/scripts/BxBaseFunctions.php
function genSexIcon($sSex) {
switch( $sSex ) {
case 'male' :
return getTemplateIcon( 'male.png' );
case 'female' :
return getTemplateIcon( 'female.png' );
case 'men' :
return getTemplateIcon( 'male.png' );
case 'MTF' :
return getTemplateIcon( 'female.png' );
case 'FTM' :
return getTemplateIcon( 'male.png' );
default :
return getTemplateIcon( 'tux.png' );
}
}
As you can see, I added choices for FTM and MTF, but it still defaults to tux.png. I want to make custom icons for this, but first need to correct this.
Any ideas?
