Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have created a custom section in umbraco that has a tree view.
I need to be able to display different details on the right depending on what tree node is selected.
I have followed all the guide lines I could find online, and every tree node links to the same page.
I cannot find any way to get the ID of the request in the Angular controller.
angular.module("umbraco").controller("LMSEditController", function ($scope) { // anyway i can get the tree node id?});
Thanks for your help.
It's ok I can add the $routeParams into the function next to $scope and then I get all the Id's relative to the node I clicked on.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Custom Treeview Links Through To Same Section
I have created a custom section in umbraco that has a tree view.
I need to be able to display different details on the right depending on what tree node is selected.
I have followed all the guide lines I could find online, and every tree node links to the same page.
I cannot find any way to get the ID of the request in the Angular controller.
angular.module("umbraco").controller("LMSEditController", function ($scope) {
// anyway i can get the tree node id?
});
Thanks for your help.
It's ok I can add the $routeParams into the function next to $scope and then I get all the Id's relative to the node I clicked on.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.