cp-nav icon indicating copy to clipboard operation
cp-nav copied to clipboard

SEOmatic subitems deleted

Open arentsen opened this issue 2 years ago • 8 comments

Describe the bug

Enabling the plugin deletes the subitems of the SEOmatic plugin and I would have to add them all manually. It would be better if the plugin did not do that.

Steps to reproduce

Craft CMS version

4.4

Plugin version

4.0.10

Multi-site?

yes

Additional context

No response

arentsen avatar Jul 27 '23 09:07 arentsen

Can't seem to immediately replicate this I'm afraid, testing installing/uninstalling SEOmatic first and vice versa with CP Nav. I'll keep at it...

engram-design avatar Jul 29 '23 05:07 engram-design

Thanks, I appreciate it, Josh.

arentsen avatar Aug 01 '23 13:08 arentsen

I am having the same issue with Solspace Calendar. When CP Nav is enabled, 4 of the 7 subitems under Calendar are hidden. If I go into the CP Nav settings, they are missing there, as well. Thanks for your help!

flannelinc avatar Sep 13 '23 16:09 flannelinc

Thanks for chiming in, unfortunately I still can't seem to replicate that. Consistently I'm getting the following when installing

image

Can you let me know what method you're installing the plugin, in case that's a factor? I've tested using composer and the plugin store with the same result. Is this also on your local install, or on a staging/production environment?

And which sub-items (per the above screenshot) are hidden for you?

engram-design avatar Sep 13 '23 22:09 engram-design

I usually install all plugins through the CP. I had CP Nav installed for a while and recently tried installing Calendar. I had issues installing through the CP, so I installed Calendar via command line. As I described, the bottom 4 items are missing, which is critical because I can't add/edit calendars without that link. I disable CP Nav and the links reappear. I enable CP Nav, and they disappear. This is on local env. Once we are done with the development using Calendar, I will push to prod and see if this persists in production. I will report back here. Thank you!

flannelinc avatar Sep 14 '23 00:09 flannelinc

So that would make some sort of sense because those bottom 4 (Events, Calendars, Settings, and Resources) require appropriate permissions. CP Nav is supposed to handle items that require permissions, but that might not be working correctly.

Just want to check what permissions you have on your current user. I assume you're an admin? Do you also have allowAdminChanges = true? I would assume so, just trying to figure out why there's a discrepancy with permissions...

engram-design avatar Sep 14 '23 01:09 engram-design

Current user is Admin and yes to allowAdminChanges = true in the local env. On production, user is Admin, as well and allowAdmin is set to false. Issue persists in both environments. If CP Nav is enabled, we can not see those sub-page links.

flannelinc avatar Sep 18 '23 23:09 flannelinc