Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dag Thomas Olsen 8 posts 58 karma points
    Feb 27, 2013 @ 08:51
    Dag Thomas Olsen
    0

    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.

  • Rich Green 2246 posts 4008 karma points
    Feb 27, 2013 @ 09:29
    Rich Green
    0

    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

  • Dag Thomas Olsen 8 posts 58 karma points
    Feb 27, 2013 @ 10:00
    Dag Thomas Olsen
    0

    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.

  • Rich Green 2246 posts 4008 karma points
    Feb 27, 2013 @ 10:37
    Rich Green
    0

    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

  • Dag Thomas Olsen 8 posts 58 karma points
    Feb 27, 2013 @ 11:17
    Dag Thomas Olsen
    0

    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.



  • Rich Green 2246 posts 4008 karma points
    Feb 27, 2013 @ 11:29
    Rich Green
    0

    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

  • Dag Thomas Olsen 8 posts 58 karma points
    Feb 27, 2013 @ 11:50
    Dag Thomas Olsen
    0

    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.

  • Rich Green 2246 posts 4008 karma points
    Feb 27, 2013 @ 12:25
    Rich Green
    0

    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

  • Dag Thomas Olsen 8 posts 58 karma points
    Feb 27, 2013 @ 12:39
    Dag Thomas Olsen
    0

    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.


     

  • Dag Thomas Olsen 8 posts 58 karma points
    Feb 27, 2013 @ 12:42
    Dag Thomas Olsen
    0

    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.

  • Dag Thomas Olsen 8 posts 58 karma points
    Jun 26, 2013 @ 13:22
    Dag Thomas Olsen
    0

    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

     

Please Sign in or register to post replies

Write your reply to:

Draft