Active
Project:
Menu Minipanels
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2013 at 16:19 UTC
Updated:
30 Oct 2013 at 16:18 UTC
I have set my main navigation to use Menu Minipanels. Unfortunately this is also causing my Site Map page which renders the main menu links to also trigger the Minipanel.
Does anyone have any suggestions as to how I can unattach Mini Panels from my Site Map links? I'd like to avoid using javascript to fix this if possible.
This issue seems very similar to #1758866: minipanel should not be displayed in the breadcrumb but with Site Map links instead.
Comments
Comment #1
i_g_wright commentedHi yeebot,
I have come across the same issue.
I know you don't want to rely on JS but the minipanel is actually only ever going to show if you have JS enabled, an easy way to fix the issue with JS is as followed.
Hope this helps,
Comment #2
yeebot commentedThanks @i_g_wright... I gave it a go but struggled to get it to work properly, perhaps because my minipanels are triggered on click rather than hover.
I did a bit of further investigation and found that there is a sitemap function that I can hook into to remove the minipanels from my links. I've used the following and it seems to work nicely!
Comment #3
i_g_wright commentedHi yeebot,
Ohh, nice one!
Thank you for sharing the code.
* Closing ticket as fixed...
Kind regards,
Comment #4
i_g_wright commented