Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fredrik Stolpe 10 posts 103 karma points
    Mar 30, 2023 @ 08:23
    Fredrik Stolpe
    2

    Is it possible to disable the "shared across alla languages" warning?

    Hello

    Does anyone know if it's possible to disable the "shared across alla languages" warning in the Umbraco backoffice gui? Our editors find it really annoying.

    Regards Fredrik

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Mar 30, 2023 @ 09:44
    Marc Goodson
    0

    Hi Fredrik

    It looks like it's in the umb-property-editor.html view

    https://github.com/umbraco/Umbraco-CMS/blob/33adbf41fa1f5c5d0759c70a7116114107addf56/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-editor.html

    The message comes from the invariantCulturePropertyUnlockHelp label (and similar for vary by segment)

    But there doesn't look to be a way to turn it off globally...

    Possibly could be hidden with CSS? hmm

    Not sure this observation helps, wonder if it's worth raising an issue on the tracker about turning it off.

    regards

    Marc

  • Fredrik Stolpe 10 posts 103 karma points
    Mar 30, 2023 @ 09:47
    Fredrik Stolpe
    0

    Thanks Marc

    I found some hard to understand instructions claiming the setting:

    AllowEditInvariantFromNonDefault

    would change this behaviour. But it does not, neither true or false makes a difference. Plus the current language being edited IS the default language.

    https://docs.umbraco.com/umbraco-cms/v/10.latest-lts/reference/configuration/securitysettings#allow-edit-invariant-from-non-default

    Regards Fredrik

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Jun 06, 2023 @ 14:37
    Chris Houston
    0

    I agree, I also find this warning very annoying. I think there should be some kind of visual indication that the property is used across all languages, but having to click that button every time you want to edit the share content is a royal PITA.

  • danpikey 1 post 21 karma points
    Jun 19, 2023 @ 11:41
    danpikey
    0

    My client is v frustrated with it. Any update on how to disable it would be v much appreciated.

  • Jonas Boye 19 posts 131 karma points
    Aug 29, 2023 @ 11:24
    Jonas Boye
    1

    I made a quickfix that is too ugly to become a proper package, but it works for me

    /App_Plugins/AutoUnlock/package.manifest

    { "javascript": [ "~/App_Plugins/AutoUnlock/AutoUnlock.js"] }
    

    /App_Plugins/AutoUnlock/AutoUnlock.js

    new MutationObserver(() => Array.from(document.querySelectorAll(`.umb-property-editor__lock-overlay`)).map(x => angular.element(x).scope()).forEach(x => x.$apply(() => x.unlock()))).observe(document.body, {subtree:true, childList: true})
    
  • SÅ‚awomir 4 posts 76 karma points
    Sep 25, 2023 @ 20:27
    SÅ‚awomir
    2

    Settings:

     "Umbraco:CMS:Content:AllowEditInvariantFromNonDefault": false
    

    should help.

    More info here: https://docs.umbraco.com/umbraco-cms/reference/configuration/contentsettings#allow-edit-invariant-from-non-default

    I agree with that it's annoying, but I think it should be shown only when editor tries to edit value from not default language. Editing from default language should be possible without the warning.

  • Osman Coskun 170 posts 404 karma points
    Jan 11, 2024 @ 15:47
    Osman Coskun
    0

    Your solution worked on v13. Thanks.

  • Alan Draper 57 posts 140 karma points
    Dec 21, 2023 @ 15:07
    Alan Draper
    0

    I created an issue in GitHub...

    https://github.com/umbraco/Umbraco-CMS/issues/15501

    If you could comment on it, it might give it some traction.

    Jonas - thanks for the plugin! Works great, though I agree it's a bit kloodgy to be a real solution.

  • Fredrik Stolpe 10 posts 103 karma points
    Dec 21, 2023 @ 15:33
    Fredrik Stolpe
    0

    Thanks Alan. I wrote a comment to give them som insight in why we use shared properties.

    Regards Fredrik

Please Sign in or register to post replies

Write your reply to:

Draft