Copied to clipboard

Flag this post as spam?

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


  • Janusz Stabik 37 posts 59 karma points
    Feb 21, 2013 @ 09:39
    Janusz Stabik
    0

    MNTP, multisite and published documents

    We have an mntp with a xpath filter that is relative to the currentNode (i.e. ancestor-or-self).  However, this only works when the currentNode is published, which means new nodes need to be published before all of the proper content can be added. 

    The xpath needs to be relative due to the multi-site architecture of the system.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 21, 2013 @ 12:38
    Jeroen Breuer
    0

    Unfortunately this is how the MNTP XPath start node works. Don't think there is a good solution for this.

    Jeroen

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Feb 21, 2013 @ 13:42
    Tim
    0

    Jeroen's right, if you're using the xpath filter, it can only show the published content, as the xpath query is run agains the content cache! If you want to use unpublished content, you have to set a root node unfortunately......

  • Robert Stocks 6 posts 29 karma points c-trib
    Oct 11, 2013 @ 15:37
    Robert Stocks
    0

    Hi, I had the exact same problem, I have fixed it and submitted the patch to the core

    https://github.com/umbraco/Umbraco-CMS/pull/164

Please Sign in or register to post replies

Write your reply to:

Draft