Help with browse.php exended view icon for #sex

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.

browse.png

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

Jennifer Bogan .. Acc. Dip. Psychology - EMAIL: jennifer.bogan@gmail.com
Quote · 11 Sep 2010

Me too still looking for an answer for this issue :-)

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 13 Oct 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.