Im trying to make a package that is used from backoffice..
I already have the ApiController : UmbracoAuthorizedJsonController working and the Associated JS, html and Manifest files..
My problem is that i can't figure out how to hook my Resource.Js in to Backoffice navigation
what i have so far..
angular.module("umbraco").controller("shortcut.createController",
function ($scope, $routeParams, shortcutResource, notificationsService, contentResource, entityResource, dialogService) {
$scope.Name = "";
$scope.Create = function () {
var ShortcutGroup = { id: null, Title: $scope.Name, ShortcutList: "" };
shortcutResource.Create(ShortcutGroup, created);
}
var created = function (Num) {
dialogService.hideDialog(true);
$location.path('/Umbraco#/Website/shortcuts/edit/' + Num);
}
});
i want to be able to Navigate to a target page. when the callback i triggered, but i cant find any guides online... can some one please point me in the right direction?
back office Naviation and routes
hi :)
Im trying to make a package that is used from backoffice.. I already have the ApiController : UmbracoAuthorizedJsonController working and the Associated JS, html and Manifest files..
My problem is that i can't figure out how to hook my Resource.Js in to Backoffice navigation
what i have so far..
i want to be able to Navigate to a target page. when the callback i triggered, but i cant find any guides online... can some one please point me in the right direction?
thanks again. Aki <3
Hi Aki
You don't need to path "/Umbraco" again, use location like that:
Thanks,
Alex
is working on a reply...