Just started some development in Umbraco, and find it pretty fantastic! My only issue is that I need a content picker that lets me use the same content multiple times. Are there any content pickers that will let me pick the content more than once? All pickers I have tried will only let me use the content once, then blink red when I try to add them again.
In Multi-Node Tree Picker im allowed to pick more than one content type, but not multiple of one content type. I want the ability to print multiple amounts of the same content, hence - pick the same content more than once. And there is no option for that in Muli-Node Tree Picker as far as I can see.
I doubt there's any content picker that lets you pick the same node id multiple times (have no idea why you would want to?).
You might want to have a look into the Umbraco source code, find the source code for the Multi Node Tree Picker and remove the validation for same node id's.
Its pretty technical - we are pretty much trying to make Umbraco work in a manner it is not typically meant to :) Instead of selecting "content" we select elements of which to use. So lets say a content type, "News" have "Title, Text, Image" you fill out these in the news you make, and in the container containing all of the news you can sort how you want the info to be output - using Multi-Node Tree Picker.
I know this sounds very weird - but It will make perfect sense when it's finished :)
Ill try to make a wrapup of how and why once its done - its starting to look pretty good. I can circumvent the issue of not being able to pick multiple content nodes.
Ill look into the source tho, but dont think I want to mess with core functionality.
Doesn't sound too unusal to me, however I still don't quite get why you would need two of the same node, prehaps you mean for number of news items if you have selected news? If so, I would possibly create more than one 'News' module one for 1 news story, one for 2 news stories etc. and allow the user to pick which one they prefer.
Yeah, thats is the way I am doing it now - Creating multiple instances of DocTypes, its probably the better choice anyways. I just had a thought of 100% dynamic content. So first time you e.g. picked "Image" it would print image[0] and second time, print image[1] etc - but probably better to let the choice be open, regarding placement etc.
I wouldn't say you need a new DocType, if it's number of News items for example then add a property to the News Item doctype for "Number of News Items", let your users Add/Edit whatever ones they need.
Trying to make a 100% responsive CMS with the flexibility to set it up as you need it - breaking all individual choices in DocTypes down to bare elements, and selecting how they will be displayed by selecting the appearence of elements in the DocType container folder.
And instead of having to select "Picture 1 full" "Picture 2 full" "Picture 3 half" etc - I would want to just add "Picture" and programatically select what picture to show - to make it 100% dynamic and not needing to create as many elements. But I guess its just the worse choice anyways - that its better to create the elements so the user has a better approach to it.
Reusable Content - Content Picker
Just started some development in Umbraco, and find it pretty fantastic! My only issue is that I need a content picker that lets me use the same content multiple times. Are there any content pickers that will let me pick the content more than once? All pickers I have tried will only let me use the content once, then blink red when I try to add them again.
Hi Dag,
Welcome to Umbraco and the forum!
I would recommend you have a look at the Multi Node Tree Picker (it's in the DataType section).
Rich
Im currently using Multi-Node Tree Picker.
In Multi-Node Tree Picker im allowed to pick more than one content type, but not multiple of one content type. I want the ability to print multiple amounts of the same content, hence - pick the same content more than once. And there is no option for that in Muli-Node Tree Picker as far as I can see.
Hey Dag,
Ahh, sorry I didn't understand what you meant.
I doubt there's any content picker that lets you pick the same node id multiple times (have no idea why you would want to?).
You might want to have a look into the Umbraco source code, find the source code for the Multi Node Tree Picker and remove the validation for same node id's.
Rich
Its pretty technical - we are pretty much trying to make Umbraco work in a manner it is not typically meant to :)
Instead of selecting "content" we select elements of which to use. So lets say a content type, "News" have "Title, Text, Image" you fill out these in the news you make, and in the container containing all of the news you can sort how you want the info to be output - using Multi-Node Tree Picker.
I know this sounds very weird - but It will make perfect sense when it's finished :)
Ill try to make a wrapup of how and why once its done - its starting to look pretty good. I can circumvent the issue of not being able to pick multiple content nodes.
Ill look into the source tho, but dont think I want to mess with core functionality.
Hi Dag,
Doesn't sound too unusal to me, however I still don't quite get why you would need two of the same node, prehaps you mean for number of news items if you have selected news? If so, I would possibly create more than one 'News' module one for 1 news story, one for 2 news stories etc. and allow the user to pick which one they prefer.
Rich
Yeah, thats is the way I am doing it now - Creating multiple instances of DocTypes, its probably the better choice anyways. I just had a thought of 100% dynamic content. So first time you e.g. picked "Image" it would print image[0] and second time, print image[1] etc - but probably better to let the choice be open, regarding placement etc.
I wouldn't say you need a new DocType, if it's number of News items for example then add a property to the News Item doctype for "Number of News Items", let your users Add/Edit whatever ones they need.
Rich
Its kind of more in the lines of this
Trying to make a 100% responsive CMS with the flexibility to set it up as you need it - breaking all individual choices in DocTypes down to bare elements, and selecting how they will be displayed by selecting the appearence of elements in the DocType container folder.
Tried to scratch down how this works atm.
And instead of having to select "Picture 1 full" "Picture 2 full" "Picture 3 half" etc - I would want to just add "Picture" and programatically select what picture to show - to make it 100% dynamic and not needing to create as many elements. But I guess its just the worse choice anyways - that its better to create the elements so the user has a better approach to it.
Kinda slow on the updates, just wanted to say that - with alot, _alot_ of tweaking to the umbraco engine, we got it working pretty well :)
Dynamic content management;
http://www.youtube.com/watch?v=TLjbkWIJGcw
Automatic Grid / Row handling
http://www.youtube.com/watch?v=46H4GM3uQsg
is working on a reply...