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

singleLanguage doesn't work in user blueprint #14

Closed
BenediktEngel opened this issue Oct 6, 2021 · 3 comments
Closed

singleLanguage doesn't work in user blueprint #14

BenediktEngel opened this issue Oct 6, 2021 · 3 comments

Comments

@BenediktEngel
Copy link

Hey,
I am using Kirby 3.5.7.1 and version 3.0 from this plugin (like described in the readme). I want to hide the languageswitcher also in the user blueprint. But this doesn't work. In page blueprints everything works fine and as expected.
Maybe you can help me or fix this issue.
Thanks a lot.

@mullema
Copy link
Owner

mullema commented Oct 6, 2021

Hi @BenediktEngel
What does your blueprint look like?

This plugin does hide the language selector in the content section, not the selector for the panel language.

@BenediktEngel
Copy link
Author

Yes, I know. For the panel language an option already exists in vanilla kirby.
Thats the blueprint I try to use:

title: User
options:
  singleLanguage: true
permissions:
  access:
    panel: true
    site: true
    settings: false
    users: false
  user:
    changeRole: false
    delete: false
    update: false 
    changeEmail: false
    changeName: false
    changeLanguage: false
fields:
   #...

@BenediktEngel
Copy link
Author

Okay i looked into issue #13 and tried it with a clean install and everything works fine. so sorry for the inconveniences.

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

2 participants