mullema / k3-panel-view-extended

Quick fix for some missing features in the panel
MIT License
27 stars 2 forks source link

singleLanguage doesn't work in user blueprint #14

Closed BenediktEngel closed 3 years ago

BenediktEngel commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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