Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEOmatic subitems deleted #127

Open
arentsen opened this issue Jul 27, 2023 · 7 comments
Open

SEOmatic subitems deleted #127

arentsen opened this issue Jul 27, 2023 · 7 comments

Comments

@arentsen
Copy link

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

@engram-design
Copy link
Member

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...

@arentsen
Copy link
Author

arentsen commented Aug 1, 2023

Thanks, I appreciate it, Josh.

@flannelinc
Copy link

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!

@engram-design
Copy link
Member

engram-design commented Sep 13, 2023

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?

@flannelinc
Copy link

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!

@engram-design
Copy link
Member

engram-design commented Sep 14, 2023

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...

@flannelinc
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants