[7.0.9] Friendly-URL Bug with sub menus

I have a big design problem on my site and hope somebody can tell me a solution for this bug

On the People Tab where you can see all members there is the horizontal menu which displays all submenus from the top menu "People". As soon as you choose an age range etc. (on the filter box on the right side) this horizontal menu (menu_block) disappears.

Dolphin itself handles this very well, because invoking the site with the non-friendly url shows the menu.

/browse.php -> Menu visible
/browse.php?sex=female&age=all&country=all -> Menu visible

/browse/female/all/all -> No Menu

So where can i fix that and what is the real problem? These submenus already drove me so crazy in lots modules in the past. But this one i do not know how to fix. I really hope somebody knows this, it breaks my whole site design.

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 7 Feb 2013

I forced the menu to appear, but i think this is really a dirty trick and not fixing the real problem.

Pls could somebody from Boonex tell me if this is the only solution or where is the place in the code to make the correct changes? I do not like such tricks but i really have no idea where the problem arises.

In ./templates/base/scripts/BxBaseMenu.php i changed the line

if( $this->aMenuInfo['currentTop'] == $iTItemID && $this->checkShowCurSub() )

to

if( ($this->aMenuInfo['currentTop'] == $iTItemID or ( $this->aMenuInfo['currentTop'] == -1 && $aTItem[Name] == "People") )  && $this->checkShowCurSub() )

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 7 Feb 2013
 
 
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.