verbb / cp-nav

Control Panel Nav is a Craft CMS plugin to help manage your Control Panel navigation.
MIT License
130 stars 11 forks source link

Standard craft nav items don't show #93

Closed joepagan closed 2 years ago

joepagan commented 2 years ago

Description

Some of the standard dashboard nav items are missing: entries, categories, global, assets To rectify this I have tried to add them manually, but they don't come through. Forgive me if I'm doing something down right stupid

image image

Steps to reproduce

  1. install plugin - no lose default nav items
  2. add manually - they still don't appear

Additional info

Additional context

tried urls with a prefixed / and not

joepagan commented 2 years ago

Ok turns out I was being a fool.

Haven't setup a base craft site for a long time and just found out no entries exist from a fresh install and these items are genuinely hidden even if cp-nav plugin is disabled.

That said, if I have manually created the nav item to entries in cp-nav and no entries exist, I would have expected the nav item to still exist regardless of craft's default behavior?

engram-design commented 2 years ago

It's mostly because in-built nav items (from Craft itself, or plugins) are classified as special nav items, as opposed to user-created ones, so they're really two different things. I'll look into supporting this behaviour though.

I would also suggest rebuilding your cp-nav, but sounds like you've got it sorted for the moment.