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.
I installed navbar on D7.18 and it doesn't seem to function at all. Here's what I see on /admin: http://d.pr/i/IMdf. The two links on the left at the top both go to the home page. FWIW, this is osx 10.8 on Chrome, Firefox and Safari.
I checked the project for documentation / readme.txt, but couldn't find any. If there are directions I need to follow to make it work, then consider this a feature request for documentation.
Comments
Comment #1
davidneedhamComment #2
KingdutchI received similar results when installing this module outside of spark.
The following error was received on the console:
Uncaught TypeError: Object [object Object] has no method 'on'
This is because the 'on' method in jQuery was not implemented until drupal 1.7 and core comes with 1.5.2 (according to
jQuery().jquery
). My spark installation tells me that version 1.7 is used.The cause for this is issue #1819558: Explain that Drupal 7 version only supports 1.7.1 & 1.8.2 in dev snapshot in the jQuery_update module. The dev version of this module should be used and not the 2.2 stable version.
A fix for this would be to specify the dev version as dependency in the .module file for navbar and not simply the module jQuery_update.
Comment #3
KingdutchThis is a possible duplicate of #1808684: Menu items scrambled at bottom of page
Comment #4
shadcn CreditAttribution: shadcn commentedSee #1891352: Documentation on how to install and configure Navbar on vanilla Drupal (outside Spark).
Comment #5
hass CreditAttribution: hass commented#1937724: Automatically configure jquery_update with jQuery 1.7 or higher
#1937728: Disable colliding modules in hook_install()