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 |
Jump to:
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
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
run this instead:
SELECT mid,pid,title FROM menu WHERE pid = 0;#3
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
No luck with db_query...
My site is http://generalitati.net and uses Drupal 5.1
#5
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
Now (with the latest release) it displays just the links from the selected menu. Thanks!
#7
#8