Copied to clipboard

Flag this post as spam?

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


  • NSC 23 posts 123 karma points
    Jul 28, 2023 @ 12:31
    NSC
    0

    Remove multilanguage warning banner

    Hi,

    Whenever I publish something on my site I get a yellow banner across the backoffice saying "Content published: Domains are not configured for multilingual site, please contact an administrator, see log for more information".

    enter image description here

    How can I turn this warning banner off?

    PS: No I don't want to solve it by doing what the banner suggests - I just want to get rid of the banner :)

  • Marc Goodson 2141 posts 14344 karma points MVP 8x c-trib
    Jul 29, 2023 @ 08:41
    Marc Goodson
    101

    Hi NSC

    Looking at the source for this warning:

    https://github.com/umbraco/Umbraco-CMS/blob/dc947977848b87dba3caac96bfe69362535378a5/src/Umbraco.Web.BackOffice/Controllers/ContentController.cs#L1771

    It looks like there is a check for an content setting called 'ShowDomainWarnings'

    and if that is set to true then it looks like the warnings won't get fired.

    It's not documented though!

    So be interested to know whether this works for you, if you add the setting to the Content section of appsettings:

    "Umbraco": {
      "CMS": {
        "Content": {
               "ShowDomainWarnings" : false,
    

    regards

    Marc

  • NSC 23 posts 123 karma points
    Aug 02, 2023 @ 09:03
    NSC
    0

    Works like a charm, thanks!

Please Sign in or register to post replies

Write your reply to:

Draft