If you have a structure like this ...

Home
About us
--Contact us
--Visit us
Whats on
--Events
--Attractions

It appears like this ...

Home
--About us
--Contact us
--Visit us
Whats on
--Events
--Attractions

Patch attached, needs testing

CommentFileSizeAuthor
footermap.module.patch14.7 KBmstrelan

Comments

mradcliffe’s picture

I'll have to take a look at this in a couple of weeks. I'll be away on vacation starting tomorrow.

mradcliffe’s picture

Version: 6.x-1.5 » 6.x-1.x-dev
Status: Active » Needs work

I don't see any changes in this patch. Can you resubmit based on DRUPAL-6--1 tag?

mstrelan’s picture

The difference is the position of the braces in this bit

            if( $h->has_children == 1 )
            {
                footermap_get_menu($h->mlid, $level+1, $limit, $mapref, $arrcnt,array($h->menu_name => $h->menu_name));
                if( $level == 1 )
                    $arrcnt++;
            }
mradcliffe’s picture

Status: Needs work » Patch (to be ported)

Okay, thanks, I've committed this.

mradcliffe’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.