Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since there is no support or bug tracking for 6.x version of Marinelli but I would like to report a bug with dropdown menus and Jquery update module. Unfortunately hoverIntent jQuery Plug-in (the core of Marinelli dropdown menu) seems to have no support for more recent versions of Jquery shipped with JQuery Update (even if in the developer's page version 1.4.2 is said to be supported http://cherne.net/brian/resources/jquery.hoverIntent.html).
However, no matter where the bug is, after enabling Jquery Update 2.x (or 2.0-alpha1) dropdown menus in Marinelli theme don't work anymore.
Comments
Comment #1
mfer CreditAttribution: mfer commentedThis bug seems to be due to the version of hoverIntent included in Marinelli. It is an older version of the script. Several features of jQuery have changed since then. That theme does not support jQuery 1.3.2+. That's not an issue with jQuery Update but an issue against the theme.
Comment #2
monotaga CreditAttribution: monotaga commentedAny thoughts on a possible fix or workaround (e.g. using contrib modules)?
Comment #3
tjg CreditAttribution: tjg commentedFWIW, I'm having the same problem: drop-down menus are not working in a fresh install of the Marinelli theme into Drupal 6.x.
Comment #4
enli CreditAttribution: enli commentedUnfortunately I don't think that Marinelli theme will be updated to a more recent JQuery version. The Marinelli Theme issue was not updated since a very long time: http://drupal.org/node/870180
Comment #5
oadaeh CreditAttribution: oadaeh at Flatt and Sons commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.
Comment #6
broonThis is still a problem with the most recently released version.
Upon loading any page, the console shows
TypeError: $(...).hoverIntent is not a function
(marinelli_menu.js, line 33)Comment #7
rostkowski.mon CreditAttribution: rostkowski.mon commentedMy menu drop downs have stopped working after updating the theme.
Comment #8
oadaeh CreditAttribution: oadaeh at Flatt and Sons commentedYou are probably now having problems because those libraries were removed due to issues with including 3rd party libraries with a Drupal project. Here is the issue: #2663120: 3rd party materials in Git repo of Marinelli (theme) I also mentioned it in the release notes, here: https://www.drupal.org/project/marinelli/releases/7.x-3.0-beta12
The README.txt file has information on where to obtain and how to install the libraries. See the REQUIREMENTS and INSTALLATION sections. Here is the file in the Git repository: http://cgit.drupalcode.org/marinelli/tree/README.txt
As I have time, I will implement #2770277: Make use of the Libraries API module and then the libraries can be installed and used like other libraries are.
Let me know if that is the problem, and if downloading and installing it fixes it.
Comment #9
broonThe now missing libraries are the cause of this issue. I went back to last version and added a .drushignore file to prevent further updates.
Personally, I think it's a bad idea to make such a major change in a minor release. I understand the necessity due to the libraries' licenses, but this potentially breaks thousands of websites and will make some webmasters crack their head.
Comment #10
oadaeh CreditAttribution: oadaeh at Flatt and Sons commentedThanks for the update.
I'm restoring the issue to it's previous state.