Navigation core module, Admin Toolbar contrib module, Gin contrib admin theme - I just want to rebuild caches!

4 weeks ago 8

With the new Drupal core Navigation module introduced in 10.3.0, the long-standing Admin toolbar contrib module may finally have some competition.  The Admin toolbar module includes the Admin toolbar tools module that provides easy access to commonly-used functionality, including Flush all caches. The new core Navigation module does not provide the option for these, and the other options provided by Admin toolbar tools.  Both Navigation and Admin toolbar provide dynamic, fly-out menus for easy access to various levels of admin configuration pages. Similarly, the Gin contrib admin theme also includes functionality for a fly-out admin menu.  With several options available, together with some of the DrupalEasy alumni during DrupalEasy Learning Community office hours, I created the following quick summary of the various ways to get both a fly-out admin menu as well as the extra items like Flush all caches. This guide is appropriate for both Drupal 10.3+ and 11 sites.  Horizontal admin menu options Admin toolbar module + Admin toolbar extra tools module  Vertical admin menu options Navigation core module + Navigation extra tools contrib module  Admin toolbar + Admin toolbar extra tools + Gin admin theme Gin admin theme + Navigation core module + Navigation extra tools contrib module  Note that Gin disables its own navigation options when the Drupal core Navigation module is enabled. Note that the Gin Toolbar module has no effect when the Drupal core Navigation module is enabled. A couple of extra notes: The Drupal core Navigation Top Bar module crashes the latest Drupal core 11.x-dev (as of October, 2024) when attempting to enable it. The Gin admin theme’s Show Secondary Toolbar in Frontend option adds a horizontal top bar to the site with a “Rebuild cache” link unless the Drupal core Navigation module is enabled in which case it has no effect. The Navigation extra tools contrib module is authored by a DrupalEasy alum, James Shields!


View Entire Post

Read Entire Article