Postponed (maintainer needs more info)
Project:
Menu Minipanels
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2012 at 20:36 UTC
Updated:
11 Dec 2012 at 18:45 UTC
Hi!
The menu minipanels stoped working whit nicemenu in the last dev / release. I've seen these two issues where the problem was corrected and allready commited to rc6...
http://drupal.org/node/1427666 "Menu Minipanels" don't want to work with "Nice menu"
http://drupal.org/node/1505112 Update from 7.x-1.0-rc3 removes menu minipanels
I've uninstall reinstall rc6, always clear the caches, etc.
At the end, I reverted to 7.x-1.0-rc5.
Thx.
[Edit: I use the last version nice menu.]
Note: Is it possible that some variables are not uninstalled ?
Comments
Comment #0.0
dadaisme commented[Edit: I use the last version nice menu.]
Comment #1
damienmckennaDid you run the database updates after upgrading to the latest version? After that, please double-check the settings page to ensure that the menus are enabled for use with Menu Minipanels. Then, please report back and I'll see if I can work out what else might be going on.
Comment #2
damienmckennaLets close this one and focus on #1427666: "Menu Minipanels" don't want to work with "Nice menu" instead.
Comment #3
dadaisme commentedHi!
Lets reopen and focus on the update from rc5 to rc6 part of the issue.
Since I'm no longer trying to use nicemenu, I tryed again to update from Menu Minipanels 7.x-1.0-rc5 to rc6.
Result: the minipanels won't open. (Every setting is fine, update.php, clear cache, etc.)
What I noticed is that the qtip libairy is no longer loaded. Same whit dev.
Thx.
Comment #4
damienmckennaHave you verified on the main Menu MiniPanels settings page that the desired menus have been enabled?
Comment #5
dadaisme commentedHi!
Yes, they are.
Thx.
Comment #6
damienmckennaSo the SCRIPT tag for loading the qtip library isn't in the output HTML? Please try the latest -dev code, that might work. Alternatively, enable & check the Database Logging module and let me know if any errors show up there. Thanks.
Comment #7
dadaisme commentedThere where no script tag for loading the libary in the html.
I'll try the last dev soon.
Thx.
Comment #8
dadaisme commentedHi!
I've just tryed the last dev version rc7, whitout sucess. The script tag still missing. Menu minipanel is activated for the menu used, cleared cache, update.php, etc..
It is failing to recognized the fact that menu items have minipanel settings, in menu_minipanels.module:
466 if (variable_get('menu_minipanels_' . $menu . '_enabled', FALSE)) { ///// this is TRUE
467 // Check whether qTip actually needs to be loaded.
468 if (menu_minipanels_prepare_links(menu_navigation_links($menu))) { //// This return FALSE even if menu items have menu_minipanels settings.
I've tried to resave the menu items settings, no change, qtip is not loading.
Here is the bug : Digging deeper, I've noticed that in rc7 and rc6 but not in rc5, it faiIed to recognized that the page is displaying the first AND second level of the menu.
For the moment, it's not realy a solution, I've bypass the second if statment, thus calling the menu_minipanels_prepare_links() and making $load_requirements = TRUE and it works. [edit: it actualy makes the menu work but makes the lightbox in admin/views go boom... and maybe other things like infinit ajax loops. It makes the lib load everywhere? added admin pages in "Don't show Menu_Minipanels on specific pages" for views to work.]
Hope this helps fixing the bug.
Thx.
Comment #9
damienmckennaWhat happens if you change line 468 to this?
Or even this?
Comment #10
dadaisme commentedHi!
I've tried both lines whitout success.
The first level of the menu does not have minipanel, only the second level.
The menu setup is : lvl1 -> lvl2 whit minipanels.
item1(selected) item2 item3 (lvl1)
item1.1(hover) item1.2 item1.3 (lvl2)
minipanel1.1(shown)
Thx.
Comment #11
damienmckennaPlease try the latest release, it should work fine.
Comment #12
dadaisme commentedHi!
I've just updated to the latest dev (dec-01)... I've notice something different. Qtip is loaded on some pages but not others: It's not loaded on the front page, taxonomy pages and node or user pages... but it's loaded when the page is a view or when the page is created by another module!?
Thx.
Comment #13
dadaisme commentedI checked if this works :
It does not work. Like I said earlier, the menu setup is : lvl0 -> lvl1 whit minipanels. It seems like menu_navigation_links returns empty for level1 even if the links are there?!
To make it work, I used menu_load_links whitout the loop in menu_minipanels_page_alter
And modified menu_minipanels_prepare_links by adding the 'options' key
It may not be the best, but it works now, is it viable?
Thx.
Comment #14
damienmckenna@Dadaisme: please try the latest 1.1 release, let me know if that helps.
Comment #15
dadaisme commentedThat is the last one that I have trided and the one I have modified.
Thx.
Comment #15.0
dadaisme commentederrata on note.