Got my custom tree working but nothing is appearing in the create section
Hi All,
I've managed to get my custom section and tree working but now when I click on the create button nothing is appearing in the list, I've got the create.html page which appears but I just get the following message
Create a page under {{currentNode.name}}
This is how I'm currently creating my tree
protected override TreeNodeCollection GetTreeNodes(string id, FormDataCollection queryStrings) { if (id == Constants.System.Root.ToInvariantString()) { //Temp items for testing var tree = new TreeNodeCollection { CreateTreeNode("emailTemplates", id, queryStrings, "Email Templates"), CreateTreeNode("companyRoles", id, queryStrings, "Company Roles"), CreateTreeNode("rewards", id, queryStrings, "Rewards") }; //Return the nodes return tree; } //this tree doesn't suport rendering more than 1 level throw new NotSupportedException(); }
I cant find anything on how to do this, so any help much appreciated.
Got my custom tree working but nothing is appearing in the create section
Hi All,
I've managed to get my custom section and tree working but now when I click on the create button nothing is appearing in the list, I've got the create.html page which appears but I just get the following message
This is how I'm currently creating my tree
I cant find anything on how to do this, so any help much appreciated.
Thanks,
Tom
is working on a reply...