When special_menu_items module is enabled icons are added twice to menu items.

Comments

markhalliwell’s picture

Project: Icon API » Special menu items
Version: 7.x-1.x-dev » 7.x-2.x-dev
Priority: Major » Normal

I would like to get feedback from the other module's maintainer first.

dw72’s picture

Status: Active » Needs review
StatusFileSize
new1.7 KB

Maybe this is only workaround but works for me.

dw72’s picture

Project: Special menu items » Icon API
Version: 7.x-2.x-dev » 7.x-1.x-dev

Back to Icon API project...

dw72’s picture

StatusFileSize
new1.75 KB

Added checking if index is defined

markhalliwell’s picture

Project: Icon API » Special menu items
Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Needs review » Needs work

@dw72, thanks for the patch! I would still like to get their feedback though. The links shouldn't be processed twice and there shouldn't be a need for this kind of patch. If it is something Special menu items is doing twice, it should be fixed there.

markhalliwell’s picture

Project: Special menu items » Icon API
Version: 7.x-2.x-dev » 7.x-1.x-dev
Status: Needs work » Reviewed & tested by the community

I actually just ran into this with another module. I'm ok with this being in Icon API for now.

markhalliwell’s picture

Status: Reviewed & tested by the community » Fixed

Thanks @dw72!

Committed c8524cf to 7.x-1.x.

Status: Fixed » Closed (fixed)

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

studiotwelve’s picture

when does this get pushed to 7.x-1.0-beta3

markhalliwell’s picture

This was committed after beta3. I currently do not know when beta4 will be released, or even if we should just go ahead and make a full 7.x-1.0 release.

  • Commit c8524cf on 7.x-1.x, 8.x-1.x, icon_tabs-integration authored by dw72, committed by Mark Carver:
    Issue #2070101 by dw72: Icons are added twice with special_menu_items...