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!
|
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
Rather than deleting this thread I'm leaving it here for anyone else who has the same problem.
|
Did you manage to hide ALL the top menu???? I tried and left with the search icon |
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!
|
Just curious... Why would anyone do this? My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Just curious... Why would anyone do this?
i have mine hidden but it's only hidden for guests
|
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. |
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. |
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?
|
there's no need to edit any css files
Guests = NO Menu Member = YES menu
|
|
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
|
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 |
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?
|
Prolaznik,
How did you do that ??
|
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. |
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.
|
Dolphin - Ajax Masturbation |
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 |
|