I was wondering if anyone has created a data type that automagically lists only the child nodes of the node.
The scenario I have is a photographic competition with all entries stored within a Media folder.
The media folder has a custom property defined (select list of all images within the folder) so that you can select 1 image as the winning entry, second place entry, etc.
I am more than happy to roll my sleeves up and try to get to grips with writing my own custom control but thought I'd check here first.
Custom Data Type - Select List of Child Nodes
Hey
I was wondering if anyone has created a data type that automagically lists only the child nodes of the node.
The scenario I have is a photographic competition with all entries stored within a Media folder.
The media folder has a custom property defined (select list of all images within the folder) so that you can select 1 image as the winning entry, second place entry, etc.
I am more than happy to roll my sleeves up and try to get to grips with writing my own custom control but thought I'd check here first.
Thanks
Nigel
Hi Nigel,
You can do this using http://our.umbraco.org/projects/backoffice-extensions/tree-multi-picker which allows you to reference the currentPage in XPath (therefore, easy to grab the children of the node)
If you're using 4.5 i'm pretty sure you can do this using http://ucomponents.codeplex.com/wikipage?title=MultiNodeTreePicker&referringTitle=Documentation although I'm not sure how to access the currentPage variable, the source is available so it's certainly a good place to start rather than starting from scratch.
Best of luck, let us know how you get on.
Rich
Or try this http://our.umbraco.org/projects/backoffice-extensions/berto-ultimate-picker
Rich
Bingo - the Berto ultimate picker is bang on.
Cheers Rich
Nigel
is working on a reply...