Footermap displays admin/user menu items

PsychoX52 - August 9, 2007 - 17:08
Project:footermap: a footer site map
Version:5.x-2.x-dev
Component:Miscellaneous
Category:bug report
Priority:critical
Assigned:mradcliffe
Status:closed
Description

After installing footermap module it displayed on the first row the navigation items, then the second menu items and then all admin items. I checked another site that uses it and it too has items that lead to forbidden pages (403).

#1

mradcliffe - August 9, 2007 - 17:47
Title:Footermap displays hidden menu items» Footermap displays admin/user menu items
Assigned to:Anonymous» mradcliffe
Status:active» postponed (maintainer needs more info)

Are you running the site in drupal 4.7.x or drupal 5.x?

The recursive function that runs footermap queries menu items starting mid = 0. When I set it to 1 I get what you describe. In the current 4.7.x snapshot I have introduced settings that allow you to set the 'top menu' or mid to start with. I haven't added this to the 5.x version yet, but it is hard coded to start at 0.

Have you modified the menu at all? I do know the original site I developed this for, running drupal 4.6.x, had most of the menu items under '42' for some reason. However I have not seen anything like that in 4.7 or 5.0 (yet).

Can you run a SQL query & reply with the results for me?

SELECT mid,pid FROM menu WHERE pid = 0;

Thank you.

#2

mradcliffe - August 9, 2007 - 17:48

run this instead:

SELECT mid,pid,title FROM menu WHERE pid = 0;

#3

mradcliffe - August 9, 2007 - 19:20
Status:postponed (maintainer needs more info)» patch (to be ported)

I'm certain that this is an issue with the 'menu_primary_menu' setting in drupal being set to something other than 0. The DRUPAL-4-7 branch of footermap has a setting called top_menu that lets you specify. I have finally implemented settings code for DRUPAL-5, and these settings should be live by tomorrow.

'top_menu' will by default use the 'menu_primary_menu' setting, which is by default 0. I'm thinking that in your case 'menu_primary_menu' is something else.

#4

PsychoX52 - August 10, 2007 - 01:26

No luck with db_query...
My site is http://generalitati.net and uses Drupal 5.1

#5

mradcliffe - August 10, 2007 - 15:43
Version:5.x-1.2» 5.x-2.x-dev
Status:patch (to be ported)» postponed (maintainer needs more info)

Did you try the latest nightly snapshot? It should use your 'menu_primary_menu' setting.

http://ftp.drupal.org/files/projects/footermap-5.x-2.x-dev.tar.gz

#6

PsychoX52 - August 10, 2007 - 18:44

Now (with the latest release) it displays just the links from the selected menu. Thanks!

#7

mradcliffe - August 10, 2007 - 19:24
Status:postponed (maintainer needs more info)» fixed

#8

Anonymous - August 24, 2007 - 19:34
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.