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've successfully managed to add a custom section to the back office along with a parent 'folder' node, and some children, each with their own views.
The problem I have is that the parent folder node I have doesn't have a view, it's merely supposed to be a container for my child nodes, much like the 'Document types' and 'Templates' folders in the 'Settings' section.
What I'm looking to do is replicate the functionality there ie. make those folders unclickable.. or at least redirect to the landing tab in the settings section.
How can I go about doing this?
.. I literally figured it out 2 minutes after posting this.
In case anyone is interested, you just have to set the 'routePath' parameter on the 'CreateTreeNode()' function to the url of your section. in my case it was '/reports'.
Hope this helps someone!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted