Removing the Drop Down Menu from Homepage

Hey -- does anyone know what file these are stored in?

Many thanks!

Quote · 24 Apr 2010

Navigate to administration, builders, navigation menu; remove all submenu items. That's honestly the only way to do it, that I know of, at least.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Apr 2010

Hey, thanks for your answer -- I could do that, but it would take these items away from the actual page, for example the News Page.

Featured Popular Categories News Archive

Home > News

Quote · 24 Apr 2010

The menu is generated by script pulling the menu builder items from the database. The script that builds the menu is located at templates\base\scripts\BxBaseMenu.php

Now figuring out how to rewrite that to do what you want is up to you.


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

I thought this would be a simple embedded javascript case, but seems if i remove lines from that file, it would affect the Builder.

Ah well. Many thanks.

Quote · 24 Apr 2010

I thought this would be a simple embedded javascript case, but seems if i remove lines from that file, it would affect the Builder.

Ah well. Many thanks.

Nothing in Dolphin is as simple as it should be (no one counter this with you know what).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Apr 2010

No it won't effect the builder. The builder stores items in the database. The script that generates the menu uses those items stored in the database.

All you should have to do is remove/modify the section of code that generates the submenu items.

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

I can give it a shot.

Quote · 24 Apr 2010

I did it. It seems to work.

If you want to try this for yourself, you try at your own risk. I'm a kamikaze when it comes to removing code, if it doesn't work, i put it back.

Make a backup of your file.

------

from line 780 of BxBaseMenu.php -- find and remove the following:

<li>

<a href="{$sILink}" {$sIOnclick} class="button more_ntop_element{$sIActiveClass}">{$sText}</a>

</li>

------

Quote · 26 Apr 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.