Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Does anyone have an example of IDataListEditor in contentment? We need a list editor that alsof knows the current node id of the page.
Anyone have an example? Or a better Idea?
You can find examples how to extend Contentment with a custom data list editor here: https://github.com/leekelleher/umbraco-contentment/blob/develop/docs/editors/data-list.md#extending-with-your-own-custom-list-editor
But in most cases you probably don't need to build your own. There is already Radiobutton list, checkbox list and item picker data lists available.
You could also extend with you own data source using IDataListSource https://github.com/leekelleher/umbraco-contentment/blob/develop/docs/editors/data-list.md#how-to-extend-this-with-my-own-stuff
But you can use the existing UmbracoContentDataListSource if you need to use XPath like used in configuration of MNTP.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted