Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have an install with multiple sites and I need a picker that will allow me to select the homepages. I would have used nuPickers for this in the past but they do not work with the version of umbraco I am using(8.15.2).
When I add $root into the xpath query field the picker always defaults to the current folder of the current node rather than defaulting to the root.
Shared Blog posts:
In this example I would like to be able to pick a home node from within Post 4 but the MNTP defaults to the Shared Blog posts page.
Any help on this would be greatly appreciated.
try to use this xPath instead
$currentPage/ancestor-or-self::*[@level = -1]
Thanks for you suggestion Lucas, but that returns an error as the and would in theory return the same as $root anyway.
You can try this xpath query:
Erik, that does indeed return $root without an error but the tree picker seems to still revert to the section of the page the picker is located on.
The "Shared Blog posts" section has a list view and I think this is forcing it to revert to the current list view rather than show the root of the site.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted