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
When there is a more than one node in Umbraco 7 custom tree, Umbraco looks for /app_plugins/customsection/backoffice/CustomSectionTree/edit.html for all the nodes. Has anybody had this issue?
Thats the normal behavior.
You have to tell the node which path angular should open when the user clicks on the node.
In your code you use the CreateTreeNode-Methode like this:
CreateTreeNode(nodeID, parentID, queryStrings, "Text", "icon", true, FormDataCollectionExtensions.GetValue<string>(queryStrings, "application") + StringExtensions.EnsureStartsWith(this.TreeAlias, '/') + "/overviewLocation/all"));
The last part is the path to the view file which angular will then request. In the above example it requests the overviewLocation.html.
Accidently made this comment as the answer, Can't find a way to undo it.
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 Tree with more than one node
When there is a more than one node in Umbraco 7 custom tree, Umbraco looks for /app_plugins/customsection/backoffice/CustomSectionTree/edit.html for all the nodes. Has anybody had this issue?
Thats the normal behavior.
You have to tell the node which path angular should open when the user clicks on the node.
In your code you use the CreateTreeNode-Methode like this:
The last part is the path to the view file which angular will then request. In the above example it requests the overviewLocation.html.
Accidently made this comment as the answer, Can't find a way to undo it.
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.