Copied to clipboard

Flag this post as spam?

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


  • Nirmit 24 posts 97 karma points
    Nov 25, 2015 @ 14:35
    Nirmit
    0

    Preview doesn't work with MNTP/Shared content

    Hi, We are using MNTP to show News items on home page. Our content structure is something like this:

    SiteA
       + Home PageA
            + Category 1
                    + Article 1.1
                    + Article 1.2
             + Category 2
                    + Article 2.1
                    + Article 2.2
    SiteB
       + Home PageB
            + Category 1
                    + Article 1.1
                    + Article 1.2
             + Category 2
                    + Article 2.1
                    + Article 2.2
    Shared Content
       + News Items
             + news 1
             + news 2         
       + System Notifications    
             + notification 1
             + notification 2
    

    In this structure, home pages have a MNTP property to select news item. The problem is if content editor has made any change to news item and want to preview it on a home page, it doesn;t work. I went through source-code (umbraco.presentation.preview.PreviewContent.PrepareDocument()) and found that while previewing, previewset updates preview content only for 'Current Node & all child nodes' but not for shared content.

    Is there any way to preview shared content without publishing them?

    We are using 7.2.4 version.

    Any help is appreciated.

    Thanks,
    Nirmit

Please Sign in or register to post replies

Write your reply to:

Draft