Control Panel Nav icon

Control Panel Nav

Version 3.1.0

March 21, 2023

Changed

  • Now requires Craft 3.8+.
  • Update icons for Craft 3.8.

Fixed

  • Fix getLayoutForCurrentUser() not returning the first default layout.

Version 3.0.17

June 30, 2021

Fixed

  • Fix Plugin Store link being hidden for allowAdminChanges = false.
  • Fix potential error when migrating nav items.

Version 3.0.16

May 30, 2021

Fixed

  • Fix being unable to remove dividers.
  • Fix divider’s not always displaying correctly.
  • Fix selected state not being set for Globals.

Version 3.0.15

February 3, 2021

Added

  • Allow CpNav plugin services to be used in console requests. (thanks @jamesmacwhite).

Fixed

  • Fix an error with PHP 7.2+ in some cases.

Version 3.0.14

January 22, 2021

Fixed

  • Fixed potential error for layouts without a sortOrder setting.

Version 3.0.13.1

August 12, 2020

Fixed

  • Fixed potential issue with migration.

Version 3.0.13

August 12, 2020

Added

  • Layouts can now be sorted in the control panel.

Fixed

  • Fix project config storing layoutId instead of layoutUid.
  • Fix layout and navigation items getting out of sync with project config.

Version 3.0.12

April 28, 2020

Fixed

  • Fix custom icon not working when editing items.

Version 3.0.11

April 21, 2020

Fixed

  • Fix directory separator checks on Windows, causing icon issues.
  • Fix over-zealous updates to originalNavHash.

Version 3.0.10

April 16, 2020

Fixed

  • Fix logging error Call to undefined method setFileLogging().

Version 3.0.9

April 15, 2020

Changed

  • File logging now checks if the overall Craft app uses file logging.
  • Log files now only include GET and POST additional variables.
  • Ensure plugin project config is removed when uninstalling.

Fixed

  • Add checks to prevent multiple nav items being added in some instances.

Version 3.0.8.2

April 1, 2020

Fixed

  • Fix permissions migration causing errors for user group permissions.

Version 3.0.8.1

March 16, 2020

Fixed

  • Fix migration introduced in 3.0.8.

Version 3.0.8

March 16, 2020

Fixed

  • Add better support for multi-users. Previously, nav's could get confused with multiple CP-enabled users logging in, and being able to run change-detection.
  • Add error-handling to checkUpdatedNavItems to prevent fatal errors.

Version 3.0.7

February 28, 2020

Fixed

  • Fix nav re-generating in some circumstances, when it didn't need to.

Version 3.0.6

February 25, 2020

Fixed

  • Fix error thrown on saving a navigation in some instances.
  • Fix triggering project config changes when allowAdminChanges is set to false.

Version 3.0.5

February 24, 2020

Changed

  • Add better handling and detection of changed nav, rather than just plugin install/uninstall. For instance, when adding your first section or global.

Fixed

  • Fix some icons (including GraphQL) not showing correctly.
  • Fix missing order value when resetting nav.

Version 3.0.4

February 15, 2020

Fixed

  • Fix migration errors from Craft 2 > Craft 3.

Version 3.0.3

February 12, 2020

Changed

  • Update icons and sort alphabetically by label. (thanks @dennisfrank).

Fixed

  • Fix situations where saving a node throws an error because its layout doesn’t exist.

Version 3.0.2

February 5, 2020

Fixed

  • Fix error in NavigationEvent.

Version 3.0.1

February 2, 2020

Fixed

  • Fix error on brand-new installs, where the default layout wasn’t being created.

Version 3.0.0

January 14, 2020

Added

  • Add better support for user permissions. Previously, even if a user didn't have access to a navigation item, it'd still be shown. Now respects Craft's native user permissions.
  • Nav URLs can now contains aliases.
  • Add navigation types, for better flexibility going forward.
  • Add new divider navigation type, handy for separating items in the menu.
  • You can now select an icon from Craft's built-in icons.
  • Add Project Config support.

Changed

  • Now requires Craft 3.4.x and greater.
  • Full refactor from ground-up, focusing on performance, cleanup and best-practices.
  • Minimised overhead for CP requests, by removing changed navigation checks.
  • Modified navigation items are only checked when enabling/installing or disabling/uninstalling plugins.
  • Nav URL is now optional, and also acts like a heading.
  • Nav regeneration has been changed to nav resetting. This will completely reset your layout back to stock Craft.

Fixed

  • Fix empty navigation handle issue. (thanks @fThues).
  • Layout user group IDs now correctly use their UIDs.
  • Fix error for non-local volumes when using a custom icon.

Version 2.0.9

November 10, 2018

Added

  • Added better visual notification when editing a nav.

Fixed

  • Fix custom icons not resolving with aliases.
  • Fix errors when installing via console.
  • Fix redirection issue for settings.

Version 2.0.8

July 5, 2018

Added

  • Add nav regenerate settings

Fixed

  • Fix default icons not appearing (showing as placeholders)
  • Fix missing template translations

Version 2.0.7

May 25, 2018

Fixed

  • Fix Craft native menu item icons

Version 2.0.6

May 10, 2018

Fixed

  • Fix hardcoded plugin icons

Version 2.0.5

May 8, 2018

Fixed

  • Fix for count() error in PHP 7.2+
  • Badge support
  • Fix incorrect column default values for plugin
  • Fix subnav items not working correctly for some plugins

Version 2.0.4

April 11, 2018

Fixed

  • Fix for Craft 3.0 (changing Client to Solo)
  • Fix not including sub-navigation of plugins
  • Fix not including sel class on menu items
  • Fix icon path check to ignore directories

Version 2.0.3

February 12, 2018

Fixed

  • Fix for siteUrl config settings throwing an error when more than one site is defined
  • Update Craft CMS requirements

Version 2.0.2

December 13, 2017

Fixed

  • Fixed issue when using arrays in configuration files. Thanks to @juresrpcic via #30.
  • Fixed issue with volumes sources when adding a custom icon.

Version 2.0.1

December 7, 2017

Changed

  • Updated for Craft 3 RC1.

Version 2.0.0

October 18, 2017

Added

  • Craft 3 initial release.

Version 1.7.8

October 17, 2017

Added

  • Verbb marketing (new plugin icon, readme, etc).

Changed

  • Don’t store handle as an AttributeType::Handle.
  • Better error-handling when adding/saving nav item.

Version 1.7.7

April 21, 2017

Added

  • Support for Craft 2.6.2951.

Changed

  • Now restores original nav if errors are thrown during the nav generation process (PHP7+ only).
  • Enforce only image selection for custom icon.
  • Allow custom icons to override default Craft/Plugin icons.

Fixed

  • Fixed selected custom icon not populating asset element select field.
  • Check if a custom icon asset exists before trying to apply it to the nav.

Version 1.7.6

November 1, 2016

Fixed

  • Fixed issues when saving nav items in some cases.
  • Fixed issue where Permissions option for layouts was required when saving/editing.
  • Fixed minor UI issues with HUD when editing nav and layout items.

Version 1.7.5

June 25, 2016

Added

  • Added support for translations with menu labels.
  • Added ability to upload and set custom icons for menu items.

Version 1.7.4

February 28, 2016

Fixed

  • Fixed issue with {siteUrl} being an array not a string. Thanks to @slelorrain.

Version 1.7.3

February 20, 2016

Added

  • Added {siteUrl} twig tag when creating nav items.

Version 1.7.2

February 2, 2016

Fixed

  • Fixed issue with url's not being properly sanitised and processed.

Version 1.7.1

January 13, 2016

Fixed

  • Fixed issue with plugin release feed url.

Version 1.7.0

December 23, 2015

Added

  • Craft 2.5 support, including release feed and icons.
  • Added Layouts - set different navigations and assign to user groups. Great for creating client-specific navigation, without changing navigation for other users.

Changed

  • Completely re-written from the ground up for better performance and tidiness.
  • Removed Quick-Add menu for the moment.

Version 1.6.2

December 23, 2015
  • Minor fix when editing non-manual nav items. URL field is disabled - therefore not passed to controller.

Version 1.6.1

December 23, 2015
  • Added Quick-Add menu button to right-hand utilities area of CP navigation. Can be turned off globally, or restricted via user permissions.