How to Delete Country from Browse

I really don't want to use countries on my website.  I can remove all instances of country from the site with the exception of the browse page.  Does anyone know how I could remove Countries from the Browse page, and possibly add my own options?

Quote · 28 Aug 2010

Yeah its a pain in the butt to remove all country stuff, but for what your looking its in admin/builders/profile fields/search. then just drag country out of the menu!

HTH

Derrick

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 28 Aug 2010

How to Delete Country from Browse!!

Try this, open file templates/base/scripts/BxBaseBrowse.php and find this code

// gen County section ;
$sCountrySection  = _genCountrySection( $this, $sCurrentKey );
if ( $sCountrySection ) {
$sVisibleParam = ( $this -> aParameters['country'] ) ? false : true;
$sCountrySection  =  _genSubDesignBox(
_genJsControlBox($sCountryCaption, 'country_section', $sVisibleParam),
$sCountrySection
);
}

 

Hide this code by edit it to this

// gen County section ;
//        $sCountrySection  = _genCountrySection( $this, $sCurrentKey );
//        if ( $sCountrySection ) {
//            $sVisibleParam = ( $this -> aParameters['country'] ) ? false : true;
//            $sCountrySection  =  _genSubDesignBox(
//                _genJsControlBox($sCountryCaption, 'country_section', $sVisibleParam),
//                $sCountrySection
//             );
//        }

Quote · 28 Aug 2010

It Worked.  Thank you...

Quote · 29 Aug 2010

Any way to change this to something else, for instance a user defined field like their state?

Quote · 2 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.