Disable the sites dropdown if only one site available #16526
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
This can also be worked when the sites dropdown is in the header:
This is a needless UX option for users if they only have access to one site. |
Beta Was this translation helpful? Give feedback.
-
|
We have a platform with around 16 sites, but most of them are operated by one person and these options are taking up valuable UI space and has caused some questions around it's purpose for our authors. Is this something that can be discussed? |
Beta Was this translation helpful? Give feedback.
-
|
Just resolved this for Craft 5.9 (14ee192). Going forward, site menus will only show if there’s more than one available option, for the most part. There are some exceptions, e.g. element edit pages, because it’s possible that an element will go from one editable site to multiple over the course of editing it, such as when adding a new site to an entry in a section whose Propagation Method is set to “Let each entry choose which sites it should be saved to”. |
Beta Was this translation helpful? Give feedback.
-
|
This is brilliant, thank you. However, there's still a visual style on the hover (but no cursor change) that indicates there should be an action. |
Beta Was this translation helpful? Give feedback.




Just resolved this for Craft 5.9 (14ee192). Going forward, site menus will only show if there’s more than one available option, for the most part.
There are some exceptions, e.g. element edit pages, because it’s possible that an element will go from one editable site to multiple over the course of editing it, such as when adding a new site to an entry in a section whose Propagation Method is set to “Let each entry choose which sites it should be saved to”.