Im on a project where we are gonna have quite a few widgets that is going to be reusable, and here my idea was to have a node structure with different kind of widgets. So inside the grid i want add content/tree picker where you just select the widget you want to insert. So basicly a treepicker starting from a special node/place in the tree and just saving the node id.
It displays a +add link for the content picker. However, when clicking, rather then opening up a contentpicker dialogue box, the page simply refreshes. Any help much appreciated. The media
I have created multi contect picker as grid control and for macro parameter which picked the nodes from a specific parent node.
I have uploaded the code at onedrive you may download from here ContentPciker. There are two zip folder PortfolioContectPicker.zip is for Macro Parameter and GridContentPicker is for Grid control.
You have to change node id in js files according to your node id (Line number 51).
Remember to add configuration for grid control in grid.editors.config.js
I have checked the web.config file and run the project but it's not show on content box, can u help me and also Grid ContentPcike plugin not working when i convert into property datatype
I am having a play with these controls and have it working but it always defaults to the Home node and also ignores my min and max values so doesnt validate at all.
Adding a content picker as a grid editor
Hey there :)
Im on a project where we are gonna have quite a few widgets that is going to be reusable, and here my idea was to have a node structure with different kind of widgets. So inside the grid i want add content/tree picker where you just select the widget you want to insert. So basicly a treepicker starting from a special node/place in the tree and just saving the node id.
So far i have added this to the grid.editors :
So now im hitting rock bottom, any articles to help me on from here? or anyone done something similar?
Hey Rasmas,
I'm working on a similar thing. In the grid.editors.config.js file I created a definition which contains a view referring to contentpicker.
It displays a +add link for the content picker. However, when clicking, rather then opening up a contentpicker dialogue box, the page simply refreshes. Any help much appreciated. The media
Hi,
I have created multi contect picker as grid control and for macro parameter which picked the nodes from a specific parent node.
I have uploaded the code at onedrive you may download from here ContentPciker. There are two zip folder PortfolioContectPicker.zip is for Macro Parameter and GridContentPicker is for Grid control.
You have to change node id in js files according to your node id (Line number 51).
Remember to add configuration for grid control in grid.editors.config.js
Download the folders and put them in App_plugins folder
There is also another discussion see Here
Hope this help you :)
HI Yasir I have above code on grid.editors.config.js but it's not working plsease help me how to short out this issue
Hi,
Can you just touch your web.config with empty space? because umbraco is heavly cached.
Yasir
Hi,
I have checked the web.config file and run the project but it's not show on content box, can u help me and also Grid ContentPcike plugin not working when i convert into property datatype
whats your skype id?
Hi Yasir,
How to make multi content picker to single content picker can u help me please
Thanks, Rishabh
Hi Yasir,
my skype id is rishabh.patel61 and can u add me on your skype please.
Thanks Rishabh
Hi Yasir,
Can u please add me on your skype group i need fast help.
Rishabh
Hi Yasir,
I am having a play with these controls and have it working but it always defaults to the Home node and also ignores my min and max values so doesnt validate at all.
Any pointers, I can always add my skype?
Thanks
Thank you Yasir, works perfectly.
What about the "render":"/Views/Partials/Grid/Editors/portfolio.cshtml"
can that file be downloade to ?
I dont have a clue what to make in thatt file :-)
thank for the fine example
By popular request Ill follow this up with a solution :)
I have something called a widgetpicker which i use in the grid, its looking for a special node and making you pick the children.
Controller
View
Grid.editors.config
Package.manifest
Hi Rasmus Fjord
I have used the above code and develop one plugin but it's not working with grid layout can u help me
What is suppose to go into the widget.html file? Thanks
Hi Rasmus Fjord,
I need one more help how can i fetch the content node id from grid layout if multiple grid on single content page.
Just a little best practise advice :)
You shouldn't add editors in
grid.editors.config
, they should be defined in a package.manifest. So for the above it would be:Check out the docs for more info
/rune
Hi Rune Hem Strand,
It's working with grid layout thanks for helping to me i have one more query can help me
How to fetch the selected content node from gird layout .
Thanks Rishabh
Well, if you read the docs carefully, you will see that it says:
Even when the instructions using "gridEditors" in package.manifest...
Incorrect?
Hi Andreas
Thanks for the input. That was incorrect and has been updated!
h5yr
/Rune
Hi Rasmus Fjord,
I need to define start node on above code i have defined but it's not working can u help me
Thanks Rishabh
Hi all,
I have fixed the all things, thanks to all for helping support and suggestion.
Thanks Rishabh
Good to hear Rishabh
Great if you could share what you've learned so others can learn from it as well.
Sharing is caring and all that jazz ;) h5yr
is working on a reply...