Copied to clipboard

Flag this post as spam?

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


  • Nik 1591 posts 7148 karma points MVP 6x c-trib
    Jan 30, 2017 @ 16:24
    Nik
    0

    Render Nested Content in the back office

    Hi,

    I was wondering if it possible to tell nested content to "preview" the nested document type in a similar way to the Grid.

    In the Grid you can specify a "render view" that is called in the back office. This is also generally the view the front end uses (as I'm sure you already know). What I would like to do is allow my list of nested content to be previewed in a similar war by saying "for this document use this view", possibly by just using the view that is set on the document type.

    My angular, unfortunately, always seems to fail me when I get onto something complex like this and I'm not really sure what the best approach would be and would love some guidance if anyone has some spare time?

    Thanks,

    Nik

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 30, 2017 @ 16:30
    Lee Kelleher
    101

    Hi Nik,

    For Nested Content, no - I think that would be tricky to pull off.

    We've been working on another property-editor called Stacked Content, that sounds like it would solve the problem for you.

    Here's a screencast demo of it: http://recordit.co/X5lGSqkBAP

    It hasn't been released yet - we are actively using it on client projects, to give it some battle testing. You're welcome to give a try.

    It's only available on NuGet at the moment: https://www.nuget.org/packages/Our.Umbraco.StackedContent/

    The source-code is here, if you wanted to look "under the hood"? https://github.com/umco/umbraco-stacked-content

    Cheers,
    - Lee

  • Nik 1591 posts 7148 karma points MVP 6x c-trib
    Jan 31, 2017 @ 10:33
    Nik
    0

    It's looking pretty good :-) Had to dig through the code to understand how the preview works but Once I sussed that out I think it could be just what I need (well a good base point :-) )

    Thanks for creating yet another amazing plugin. You guys are stars!

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 31, 2017 @ 10:37
    Lee Kelleher
    0

    Cool, happy to hear that you like it!

    Yeah, we haven't done any docs yet.

    Just keep in mind that it is the first iteration of StackedContent, so there may well be issues/niggles... (but please do raise any issues over on the GitHub repo.)

    Cheers,
    - Lee

  • Richard Hamilton 79 posts 169 karma points
    Jul 25, 2017 @ 13:42
    Richard Hamilton
    0

    Hi, I was looking to add this functionality too. Not sure if I'm too far into the project to change now. Has there been much progress on this project?

Please Sign in or register to post replies

Write your reply to:

Draft