My predefined values for #sex, male and female was deleted, and replaced with, Lesbian, BI and TG
In browse.php in extended view the default icon tux.png is used if there is no female or male value.
as shown in code below
templatesbasescriptsBxBaseBrowse.php
lines near 222:
switch ($sKey) {
case 'male' :
$sSexSection .= $oObject -> genBrowseLink( _t( '_By Male' ), $sValue, $oObject -> genLinkLocation( 'sex', 'male'), 'male.png');
break;
case 'female' :
$sSexSection .= $oObject -> genBrowseLink( _t( '_By Female' ), $sValue, $oObject -> genLinkLocation( 'sex', 'female'), 'female.png');
break;
case 'all' :
$sSexSection .= $oObject -> genBrowseLink( $sValue, null, $oObject -> genLinkLocation( 'sex', $sKey), 'post_featured.png');
break;
default :
$sSexSection .= $oObject -> genBrowseLink( _t($aPreValues['Sex'][$sKey]['LKey']), $sValue, $oObject -> genLinkLocation( 'sex', $sKey), 'tux.png');
break;
}
I want to display in extended view in browse.php the icons for #sex -> Lesbian, BI and TG accordingly that has replaced male and female
So I changed the BxBaseBrowse.php to code below and uploaded lesbian.png to templates/base/images/icons
switch ($sKey) {
case 'male' :
$sSexSection .= $oObject -> genBrowseLink( _t( '_By Male' ), $sValue, $oObject -> genLinkLocation( 'sex', 'male'), 'male.png');
break;
case 'Lesbian' :
$sSexSection .= $oObject -> genBrowseLink( _t( '_By Lesbian' ), $sValue, $oObject -> genLinkLocation( 'sex', 'Lesbian'), 'lesbian.png');
break;
case 'female' :
$sSexSection .= $oObject -> genBrowseLink( _t( '_By Female' ), $sValue, $oObject -> genLinkLocation( 'sex', 'female'), 'female.png');
break;
case 'all' :
$sSexSection .= $oObject -> genBrowseLink( $sValue, null, $oObject -> genLinkLocation( 'sex', $sKey), 'post_featured.png');
break;
default :
$sSexSection .= $oObject -> genBrowseLink( _t($aPreValues['Sex'][$sKey]['LKey']), $sValue, $oObject -> genLinkLocation( 'sex', $sKey), 'tux.png');
break;
}
Below is what is displayed for in extended view browse.php after adding to the code and uploading image.
So it didn't work after clearing cache and deleting cache files and thought well damn was good in theory
Logged in last night on my mobile using ESASE mobile phone version and clicked online friends and holy smoke prior to the username was L icon for (lesbian.png) LOL.
So this gives me hope and I would love some help to have this working on my site on extended view for browse.php
I want my icons for #Sex, Lesbian, BI, TG, accordlingly instead of the tux.png penguin
Regards
Jenn
