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've an old Umbraco 4.0.3 website and I installed the DocumentSorter 3.0.1 package. I've 1 line in the config file:
<add field="nodeName" type="Alpha" order="Asc" rootXpath="//node[@nodeTypeAlias='Widget']" />
For the nodes below Widget it works good, but when I add a News node somewhere else the new node won't come below the news tree but on the first quart of the news tree.
Anyone who can help me?
It sounds like for some reason the "rootXpath" isn't kicking in and its doing sorting on non-Widget fields. I do think your rootXpath should use the alias of the parent node that contains Widgets, rather than the node itself - unless you're sorting children of Widget nodes?
Can you maybe try using the docTypeAlias attribute instead of rootXpath to limit to `Widget` doctypes?
If not, can you share a bit more about your structure and I'll see if I can reproduce here?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted