Thanks for the reply tarik, Actually I need to show a popup message after user login in to the umbraco backoffice, its doesnt matter mvc or angular, like umbraco back office tours.
In the path folder yourapp/Umbraco/Js/umbraco.directives.js insert the alert as in the code below:
vm.loginStates.submitButton = 'busy';
userService.authenticate(login, password).then(function (data) {
// Demo for nijas
alert('User logged in before redirect to backoffice');
vm.loginStates.submitButton = 'success';
userService._retryRequestQueue(true);
if (vm.onLogin) {
vm.onLogin();
}
In the path folder yourapp/Umbraco/Js/umbraco.controllers.js insert the alert as in the code below:
dashboardResource.getDashboard($routeParams.section).then(function (tabs) {
$scope.dashboard.tabs = tabs;
// set first tab to active
if ($scope.dashboard.tabs && $scope.dashboard.tabs.length > 0) {
$scope.dashboard.tabs[0].active = true;
}
$scope.page.loading = false;
// Demo for nijas
alert('User logged in after redirect to backoffice dashboard'); });
how to access umbraco Back end logging success event?
How to get Umbraco user login success event and render a popup after successful login?
Here are few links related to login user but for popup message I'm unsure which side you do your work is MVC view or via AngularJS page application?
Login member programmatically on Umbraco 7
Umbraco 7 User Login(backoffice) Programmatically 1
Umbraco 7 User Login(backoffice) Programmatically 2
Thanks for the reply tarik, Actually I need to show a popup message after user login in to the umbraco backoffice, its doesnt matter mvc or angular, like umbraco back office tours.
Would it be possible?
I was busy nijas, I suggest the following:
Make
debug
as true to disable lazyload.In the path folder
yourapp/Umbraco/Js/umbraco.directives.js
insert the alert as in the code below:In the path folder
yourapp/Umbraco/Js/umbraco.controllers.js
insert the alert as in the code below:Screenshots:
is working on a reply...