Hiding the ‘Save’ button in the back office.
# help-with-umbraco
r
Is there a way to hide the Save button in the back office? We’re are running headless and I want to hide the ‘Save’ button and change the text of the ‘Save and Publish’ to ‘Save’ as we deal with publishing separately via a dashboard. Any ideas? Happy just to hide it with CSS (tried some code samples but couldn’t get this to work) or via code. Using latest Umbraco 13 latest Thanks
Managed to do this using CSS. Will come back and here with with code
k
You can do some of this with permissions (so removing the publish permission from people and Umbraco will only show a save button). you can also do this with some angular scope traversal. (i am sure i had a blog post on how but i can't find it right now). this is how both uSync and Umbraco.Workflow do it as they replace buttons / hijack the actions.
r
Thanks Kevin, I think the angular stuff might be a bit beyond my skill level at the mo. In terms of removing publish permission, I need the content to be published as this is the content that the static site generator uses (rather than draft / saved) So this is more about changing the perception that 'Publishing' is actually 'Saving' for them (so it's publishing in Umbraco, but they won't 'Publish' until they do the static build) If that makes sense!
83 Views