Can you override a backoffice angularjs controller?
I'm working on a site which allows members of staff to to be invited to limited areas of the backoffice. The invite process sets a password, then switches to a view where you optionally set an avatar.
The client insists that the invite process must skip the option to set an avatar - ie it must not show this option at all.
I can probably alter the files but this will probably cause all kinds of issues with upgrades overriding changes. Is there a way in angularjs to create a new modified controller and swap it out?
Can you override a backoffice angularjs controller?
I'm working on a site which allows members of staff to to be invited to limited areas of the backoffice. The invite process sets a password, then switches to a view where you optionally set an avatar.
The client insists that the invite process must skip the option to set an avatar - ie it must not show this option at all.
I can probably alter the files but this will probably cause all kinds of issues with upgrades overriding changes. Is there a way in angularjs to create a new modified controller and swap it out?
https://github.com/umbraco/Umbraco-CMS/blob/e626fca2432582f052cb13654eedd9e60ef8723f/src/Umbraco.Web.UI.Client/src/common/directives/components/application/umblogin.directive.js
https://github.com/umbraco/Umbraco-CMS/blob/e626fca2432582f052cb13654eedd9e60ef8723f/src/Umbraco.Web.UI.Client/src/views/components/application/umb-login.html
Or is there any other simpler way to solve this? Using Umbraco 10.3
Any thoughts much appreciated
is working on a reply...