Press Ctrl / CMD + C to copy this to your clipboard.
Copied to clipboard
Flag this post as spam?
This post will be reported to the moderators as potential spam to be looked at
Topic author was deleted
Feb 23, 2015 @ 14:43
Use a node picker in custom grid editor
I'm developing a custom grid editor that will allow content editors to select an image, write some text, and then provide a link to an internal page. The first two parts are fine, but I'm not sure how I can add in the node picker to a custom grid editor? I think it's the syntax in the .html Angular file that I'm not sure about.
...and while I'm here, is it possible to have two images (media pickers) in one custom grid editor?
Topic author was deleted
Use a node picker in custom grid editor
I'm developing a custom grid editor that will allow content editors to select an image, write some text, and then provide a link to an internal page. The first two parts are fine, but I'm not sure how I can add in the node picker to a custom grid editor? I think it's the syntax in the .html Angular file that I'm not sure about.
...and while I'm here, is it possible to have two images (media pickers) in one custom grid editor?
Thanks, Ed
Hi Ed,
Try to see see the standard media picker controller in the Umbraco source code here https://github.com/umbraco/Umbraco-CMS/blob/5b9a98ad6ae9e63322c26f7b162204e34f7fcb54/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/editors/media.controller.js and the html https://github.com/umbraco/Umbraco-CMS/blob/5b9a98ad6ae9e63322c26f7b162204e34f7fcb54/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/editors/media.html
Hope this can be at any help for you.
/Dennis
Comment author was deleted
Hi Dennis,
Thanks for your quick response. It's more the standard node picker that I'm having trouble with, including that within a custom editor?
Ed
Hej Ed,
Okay, then I think you should try to see this comment https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/59563-Tutorial-on-creating-custom-grid-editors?p=0#comment202204 from Patrick he has made a property editor that uses a content picker. You can download the code and get some inspiration on how to implement this.
Hope this helps,
/Dennis
is working on a reply...