Remove Browse by Sex & Browse by Age

Hi, I have just discovered Dolphin 7.0 and I am just getting to grips with it, so please bear with me.

On the browse page (browse.php), I would like to remove or hide the "browse by sex" and the
"browse by age" sections and just leave the "browse by country" section. Is there a way to do this?

I have looked everywhere to see if there are any configuration settings, but it looks like it may
result in changing/deleting code somewhere.

Any views or help would be appreciated.

Thanks,

Lee.

Quote · 25 Jul 2012

open file templates/base/scripts/BxBaseBrowse.php

1)
find this function: function _genSexSection( &$oObject, $sCurrentKey )

and this code (at the end of the function)

// return builded template ;
    return $sSexSection;

edit to this

// return builded template ;
    //return $sSexSection;



2)
find this function: function _genAgeSection( &$oObject, $sCurrentKey )

and this code (at the end of the function)

// return builded template ;
    return $sAgeSection;

edit to this

// return builded template ;
    //return $sAgeSection;

Quote · 25 Jul 2012

Fantastic, thank you very much.

Knowing where to look for the code to

change is 95% of the problem.

 

Thanks again,

Lee.

Quote · 25 Jul 2012

Is there any way to add sections to the browse?

Quote · 24 Jul 2015

One question about the fix though... I see that the file to be modifies is

templates/base/scripts/BxBaseBrowse.php

 

Being this file in the BASE template folder, won't any change to it change be overwritten with any Dolphin upgrade...?

 

Should I copy the file BxBaseBrowse.php to my template's script folder instead...?

Quote · 23 Oct 2015
 
 
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.