I have been having a few questions for quite a while, and i was wondering if anybody would be able to help me with them.
- I have "managed" to get a tree for one of my dataObjects after a lot of searching and trying stuff out i finally managed to get this done. Yet there are still a few things that keep bugging me about the implementation. So i have been wondering is there any "standard" way to create a CMS site tree in the same way you can with modeladmin for many dataobject gridfields. Like say i add the hierachy extension to one of my classes set the tree class and then it would instantly create a site tree with it. Instead of what i had to do now is look at the CMS site tree code and CMS assets code and copy much of it.
- In the CMS when a dataobject has a has_one relation with another dataobject a dropdown field is created. Is there any way to add a button next to this to say: "add new" that way a new one could be created more easily if you ask me. Without having to go to the page of that specific dataobject.
Thank you swaiba and kinglozzer for your replies that solves one question still leaves me with the tree question. I cant imagine that there is not a straight forward no hackish feeling way to implement a tree just like gridfields can be easily created.
Still hoping somebody is able to provide me a answer to that question.
Also sorry for the late reply christmas/new year and all.