Im looking for some inspiration how to pick something from a custom section with custom trees to the contentpages. Concret I have a custom product section where all my products is administered, I want to let the user pick products to the contentpages, just like you can do with the media picker. How can I achieve this?
You will need to create a new data type, I would think you can use lots of the source for node picker or media picker for this purpose. Basically, your custom product picker would save as an INT datatype and save your product ID in the database against that content node.
You could use my Universal Media Picker (http://our.umbraco.org/projects/backoffice-extensions/universal-media-picker) and just write your own provider for it. That should cut out all the complexity of writing your own picker, as you just have to implement a few simple methods. There are also plenty of example providers for you to take inspiration from.
Ive triede to create a custom datatype based on the contentpicker where I assigned to the product tree. The problem is that when I pick something it tries to load the current page (product page from my custom section), which I dont want it to in this situation when I only want to pick the id. Anyone knows how too solve this??
Pick from custom section
Hey.
Im looking for some inspiration how to pick something from a custom section with custom trees to the contentpages. Concret I have a custom product section where all my products is administered, I want to let the user pick products to the contentpages, just like you can do with the media picker. How can I achieve this?
You will need to create a new data type, I would think you can use lots of the source for node picker or media picker for this purpose. Basically, your custom product picker would save as an INT datatype and save your product ID in the database against that content node.
Hey,
You could use my Universal Media Picker (http://our.umbraco.org/projects/backoffice-extensions/universal-media-picker) and just write your own provider for it. That should cut out all the complexity of writing your own picker, as you just have to implement a few simple methods. There are also plenty of example providers for you to take inspiration from.
Many thanks
Matt
Ive triede to create a custom datatype based on the contentpicker where I assigned to the product tree. The problem is that when I pick something it tries to load the current page (product page from my custom section), which I dont want it to in this situation when I only want to pick the id. Anyone knows how too solve this??
is working on a reply...