I came to the conclusion that it wasn't an ideal fit for the Data List editor itself, but there is merit in having an MNTP-esque editor that could be configured with any custom Umbraco Tree as a data-source. I made a quick proof-of-concept, nothing close to "real world" production-ready.
Could be worth exploring? (as I don't know of any packages that offer this feature)
Søren's proposal is qutie close to what I would need, my use case is similar with a "product picker" in this case but of course it would be good if the solution is generic.
Another thing that I probably also need is the ability to use a image as a replacement for the icon. I created a little proof of concept for this project with support for the thumbnail as well.
Lee, are you saying that this is not something for Contentment or just that the Data List was not a great fit? I'll continue to explore this in my current project and would be happy to share the end result or contribute with a PR if you would like.
Lee, are you saying that this is not something for Contentment or just that the Data List was not a great fit? I'll continue to explore this in my current project and would be happy to share the end result or contribute with a PR if you would like.
I'm saying that it wasn't a good fit for Data List specifically. I think a generic "Tree Picker" editor would be great, whether that's for Contentment or something else - I think it's worth exploring.
I'll see if I can find my proof-of-concept, (was a couple of weeks ago, can't remember which local dev site I prototyped it on! haha). I'll get it up on a gist if/when I find it.
MNTP-like picker with custom data source for Umbraco 8
Hi!
I'm looking for a property editor that should work very much like MNTP (or Member Picker) but with a custom data source.
I know we used to have nuPickers and that Contentment has some types of pickers but I'm looking for a picker that:
Does any one know of a package that does this?
Member Picker example: https://our.umbraco.com/media/upload/65a3b3bb-c45a-4684-a712-d1619297d735/picker.png
Could you maybe use the DataList property editor from Lee's Contentment? It's the nearest I can think of.
https://github.com/leekelleher/umbraco-contentment/blob/develop/docs/editors/data-list.md
Coincidently, Søren was suggesting a similar idea recently...
I came to the conclusion that it wasn't an ideal fit for the Data List editor itself, but there is merit in having an MNTP-esque editor that could be configured with any custom Umbraco
Tree
as a data-source. I made a quick proof-of-concept, nothing close to "real world" production-ready.Could be worth exploring? (as I don't know of any packages that offer this feature)
Cheers,
- Lee
Thanks guys!
Søren's proposal is qutie close to what I would need, my use case is similar with a "product picker" in this case but of course it would be good if the solution is generic.
Another thing that I probably also need is the ability to use a image as a replacement for the icon. I created a little proof of concept for this project with support for the thumbnail as well.
Lee, are you saying that this is not something for Contentment or just that the Data List was not a great fit? I'll continue to explore this in my current project and would be happy to share the end result or contribute with a PR if you would like.
I'm saying that it wasn't a good fit for Data List specifically. I think a generic "Tree Picker" editor would be great, whether that's for Contentment or something else - I think it's worth exploring.
I'll see if I can find my proof-of-concept, (was a couple of weeks ago, can't remember which local dev site I prototyped it on! haha). I'll get it up on a gist if/when I find it.
Cheers,
- Lee
I've found and dusted off my proof-of-concept TreePicker editor... https://gist.github.com/leekelleher/ce6c7d6bc7e783bfe58d271392d9a82b
is working on a reply...