Delete menu on every page

Hello,

I want to delete the menu ( as attachment ) on every page.

How can I do that?


I think it's called a member menu...

menu.jpg · 39.6K · 271 views
Quote · 8 Oct 2012

Why would you want to do this ??  I'm curious ......

Navigation is very important

 

 

Hello,

I want to delete the menu ( as attachment ) on every page.

How can I do that?


I think it's called a member menu...

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 8 Oct 2012

I know... but we are creating custom menu's per page in a html block.
So we only have the important things...

Quote · 8 Oct 2012

go to templates/base/script/BxBaseMenu.php at line 449

just comment this out

//$sSubItems .= $this->genSubItem( _t( $aItem['Caption'] ), $aItem['Link'], $aItem['Target'], $aItem['Onclick'], $bActive );

and you are done.

Good luck :D

so much to do....
Quote · 8 Oct 2012

Did that, but still there's the menu... :(

Quote · 8 Oct 2012

you have a custom template do that for that template also.

so much to do....
Quote · 8 Oct 2012

This is the script for the custom template ( BxTemplMenu.php )

 

<?php

/***************************************************************************
*                            Dolphin Smart Community Builder
*                              -------------------
*     begin                : Mon Mar 23 2006
*     copyright            : (C) 2007 BoonEx Group
*     website              : http://www.boonex.com
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the
* License, or  any later version.
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/


require_once( BX_DIRECTORY_PATH_ROOT . 'templates/base/scripts/FbBaseMenu.php');
/**
* @see BxBaseMenu;
*/
class BxTemplMenu extends FbBaseMenu {

 /**
 * Class constructor;
 */
 function BxTemplMenu() {
  parent::FbBaseMenu();
 }
}

// Creating template navigation menu class instance
$oTopMenu = new BxTemplMenu();

?>

Quote · 8 Oct 2012

Where can I change it?

Quote · 8 Oct 2012

now i doubt something is wrong

so much to do....
Quote · 8 Oct 2012

?

Quote · 8 Oct 2012

You have some different kind of setup, i can't tell much about it from here. If you want you can email me your ftp and site info and i will take a look.

so much to do....
Quote · 8 Oct 2012

I send you the info!

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