I have footermap set to display only my Primary Links, which are organized something like this:

  • Home
  • About
  • Stuff
    • Stuff1
    • Stuff2
    • Stuff3
  • Pear
  • Apple
  • Orange

However, footermap displays it like this:

  • Home
  • About
  • About
  • Stuff
    • Stuff1
    • Stuff2
    • Stuff3
    • Stuff1
    • Stuff2
    • Stuff3
  • Apple
  • Orange

The bolded items are duplicates, and the example item Pear does not show up at all in the footermap.

I've tried with stable and the most recent dev 6.x-1.x-dev 2009-Oct-16 (with and without legacy mode).

I don't know if there's something wrong with my menu system (it's just the standard Drupal 6 Primary Menu), or if it's something with footermap.

My admin/build/menu/settings are like this:

Default menu for content:
Primary Links

Source for the primary links:
Primary Links

Source for the secondary links:
Secondary Links

Let me know if any more information is needed.

CommentFileSizeAuthor
#9 db.PNG4.21 KBjackread
#1 Picture 1.png11.37 KBmradcliffe
#1 Picture 2.png13.95 KBmradcliffe
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mradcliffe’s picture

Status: Active » Postponed (maintainer needs more info)
FileSize
13.95 KB
11.37 KB

I added everything as normal menu items, and they seem to appear for me.

This is what I did real quick:

Is the Pear menu option a views-generated menu? If so, then you'll have to, unfortunately, enable the system-menus option.

jackread’s picture

I'm getting the same issue using the latest dev version of the code.

I did originally have views creating the menu items... but then I created them manually... but still no luck.

mradcliffe’s picture

Version: 6.x-1.5 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

Can you look a the HTML source that's generated on the page?

In the footermap div each footermap item will have a class based on the menu link id.

It should look like this class="menu-#". Are there any items there where the number is the same? That would mean the module IS getting a duplicate from its queries.

jackread’s picture

the id's are all different... maybe its bringing de-activated menu items as well?

mradcliffe’s picture

Okay, those are all unique menu items that were created or you created on your site. The module doesn't query for hidden or deactivated menu items so all of those must be enabled menu items.

jackread’s picture

they don't show up on admin>build>menus.... so they aren't active

jackread’s picture

Any ideas why it would be doing this?

mradcliffe’s picture

I need to see the database records for these menu items. They are definitely not set to hidden in the database. If you don't have an easy way to do this you can install the Table Wizard module (depends on schema) to see tables in views.

jackread’s picture

FileSize
4.21 KB

here's a screen shot of one of the items... it looks legit to me.

mradcliffe’s picture

That menu item is enabled since the hidden column is set to 0. When you uncheck the enabled checkbox it should set that value to 1.

jackread’s picture

i think you miss the point...

that menu item doesn't show up in admin > build > menus

UPDATE: It doesn't have a corresponding reference in {menu_router}... could this be why it doesn't show up in admin > build> menus ?
maybe you should adjust the db_query that looks up menu items to mirror how the core menu module does it?