Remove top menu

Hi all!

I want to remove the top menu (the one just below my logo).  I have gone into Builders > Navigation Menu and can remove all but the account tab and the search tab.  I searched this forum and found a helpful post telling me how to remove the search tab, which I have done.  I'm now left with the account tab and no way or removing it.  Can anyone help?

Thanks!

Quote · 28 Mar 2010

Ah!  I did it!  I spent ages yesterday trying to figure it out (it won't let you delete or edit it) and then I worked it out today.  The worst thing is that it's really simple!  I just dragged it into the 'unused' tabs bit and the bottom Embarassed

Rather than deleting this thread I'm leaving it here for anyone else who has the same problem.

Quote · 28 Mar 2010

Did you manage to hide ALL the top menu???? I tried and left with the search icon

Quote · 1 Apr 2010

Did you manage to hide ALL the top menu???? I tried and left with the search icon

Try This:

inc\classes\BxDolTemplate.php at around line 698

Change this:

case 'top_menu':

$sRet = $GLOBALS['oTopMenu'] -> getCode();

break;

To This:

case 'top_menu':

if ((int)$_COOKIE['memberID'] > 0) {

$sRet = $GLOBALS['oTopMenu'] -> getCode();

} else {

$sRet = '<style>.sys_top_menu {display: none}</style>';

}

break;

There are 2 ways to do it. This one hides the entire menu and the background image behind the bar by hiding sys_top_menu.

The other method is to hide the menu, but leave the background image.

In that case, use this code instead:

case 'top_menu':

if ((int)$_COOKIE['memberID'] > 0) {

$sRet = $GLOBALS['oTopMenu'] -> getCode();

} else {

$sRet = '';

}

break;

...I forgot who posted this a little while back... But it worked for me!

Quote · 1 Apr 2010

Just curious... Why would anyone do this?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 1 Apr 2010

Just curious... Why would anyone do this?

i have mine hidden but it's only hidden for guests

Quote · 1 Apr 2010

For anyone that wants to get rid of that pesky navigation menu.... here's how.

In the file: /templates/base/css/top_menu.css



Find:

div.sys_top_menu {
background:url("../images/tm_bg.png") repeat-x scroll center top transparent;
}



Change to: (Add the text in red)

div.sys_top_menu {
display:none;
background:url("../images/tm_bg.png") repeat-x scroll center top transparent;
}

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 1 Apr 2010

Wouldn't it be nice to be able to add php conditional statements to css?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 1 Apr 2010

Works for me. Thanks.

I want to hide it from guest and show it to members.

houstonlively, by changing it in the css file, does it mean after logon it will show up?

Quote · 1 Apr 2010

there's no need to edit any css files

Guests   = NO Menu
Member = YES menu

Quote · 1 Apr 2010

How you did it???

Quote · 1 Apr 2010

Oh NO!!!!!  So after playing around with the two different codes I screwed up!!! My Top Menu is completely gone and I can't figure out how to put it back!

Can anyone help?????  PLEASE!!!

M

Quote · 1 Apr 2010

Considering we don't know what you screwed up, the answer would be no.

The best advice i can give you is always make a backup before making any changes.

Your most likely going to have to replace the file you edited with a fresh copy from the original dolphin zip file.

https://www.deanbassett.com
Quote · 1 Apr 2010

Considering we don't know what you screwed up, the answer would be no.

The best advice i can give you is always make a backup before making any changes.

Your most likely going to have to replace the file you edited with a fresh copy from the original dolphin zip file.

Yup, replacing the files did it!

Thank you!  Guess I learned my lesson huh? Undecided

Quote · 1 Apr 2010

Prolaznik,

How did you do that ??

Quote · 28 Apr 2010

If you go to MENU BUILDER and then select each menu tab you wish to hide to guests the pop up box will open and at the bottom there are two options: Visible for: Guests or Members - de-select guest will hide that tab to none members.

Quote · 27 May 2010

If you go to MENU BUILDER and then select each menu tab you wish to hide to guests the pop up box will open and at the bottom there are two options: Visible for: Guests or Members - de-select guest will hide that tab to none members.

Yes, did it a while back using the same method marcoart has shown here. Although in ours at this website I've allowed 'SIGN-UP' and the 'ABOUT' menu items to show to Guests and Members.

Quote · 27 May 2010

Hide menu from guests...

http://www.deeemm.com/resources/tutorials/42-dolphin-70x-modifications/181-dolphin-hide-menu-bar-from-guests.html

HTH

/DM

Dolphin - Ajax Masturbation
Quote · 6 Jul 2010

Wouldn't it be nice to be able to add php conditional statements to css?

Hey HL - you should check out CSS3 - boolean operators are now allowed, very handy.

But, if you want to perform conditional logic from within your style sheets you should really get your head around XSLT.

/DM

Dolphin - Ajax Masturbation
Quote · 6 Jul 2010

simple use this

http://www.boonex.com/m/FREE_MOD_DeeEmm_Hide_Menu_Bar_from_GuestsLaughing

Quote · 7 Jun 2012
 
 
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.