Hello there!
The dropdown Commerce Kickstart Menus stopped dropping down after enabling login destination module.
Tell please, how to fix it?
Thank you!

Members fund testing for the Drupal project. Drupal Association Learn more


Cookiz’s picture

Status: Active » Closed (won't fix)
628 bytes

You will need to apply this patch.

If you want to manually edit the code, you will have to look into toolbar_megamenu.module and look for :
$page['page_top']['toolbar']['#pre_render'] = array('toolbar_megamenu_pre_render');

Change this line with :
$page['page_top']['toolbar']['#pre_render'][1] = 'toolbar_megamenu_pre_render';

errev’s picture

Thank you so much!
It works

ace11’s picture

Nice! This fixed the problem.

Horroshow’s picture

Thanks, it works. I'm not an expert but should the patch be applied from the module's folder itself instead of the Kickstart profile folder?

rajmataj’s picture

Confirming this issue still exists in commerce kickstart 7.x-2.10. Marking for review in the hopes this patch can be applied to the next release.

rajmataj’s picture

Version: 7.x-2.8 » 7.x-2.10
Issue summary: View changes
Status: Closed (won't fix) » Needs review
jsacksick’s picture

This patch is actually not ok, I tested it, the menu works again but login_destination doesn't append the query to the logout link anymore, I'm wondering whether we have to fix toolbar_megamenu or login_destination instead.

jsacksick’s picture

Project: Commerce Kickstart » Login Destination
Version: 7.x-2.10 » 7.x-1.x-dev
Component: User interface » Code
Category: Support request » Bug report
1014 bytes

The issue is actually coming from Login destination, it shouldn't replace the #pre_render function but it should instead append the function to call (See the attached patch).

belong@mywebworkshop.com’s picture

This is still an issue 14.4.14. Login Destination 7.x-1.1, and Commerce 7.x-1.9

Gomez_in_the_South’s picture

I was having the same issue - the patch in #8 works for me, thanks jsacksick. Would be great to see this added to the official releases.

ddrozdik’s picture

Assigned: Unassigned » ddrozdik
Status: Needs review » Reviewed & tested by the community

  • DmitryDrozdik committed c2740bd on 7.x-1.x
    Issue #2036699 by jsacksick, Cookiz: The dropdown Commerce Kickstart...
ddrozdik’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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