Hi

Is it possible to create custom tree configuration so that only part of the 
tree (a subtreee) shows?
I would like to be able to specify a path and repository and based on those 
render a tree...

After looking into existing classes in adminInterface module and in Tree class 
I don't see any API that would allow me to do this...

Any hint on this would be greatly appreciated.
Thanks

Amir

P.S.

The reason why I want to do this is to be able to specify a specific tree in 
uuidLink dialog control.
I have a DMS library with a lot of images which are stored in specific folders 
(logos, backgrounds, ads).
I also have different paragraphs which use dialogs with uuidLink control.
So I want to be able to limit what the user picks depending on paragraph...
E.G. when selecting a logo I want to show only a subtree that starts at the 
logo folder...
This insures that user cannot use an ad image for a logo, for example...
Same applies for website repository...

As I test I tried extending WebsiteTreeConfiguration and 
adding tree.setPathXXX methods and then doing super.prepareTree but that was 
not it...
I couldn't find a method in tree that would have something like setTreeRoot or 
simiral...


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to